libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dependency_libs issue


From: Albert Chin
Subject: Re: dependency_libs issue
Date: Mon, 8 Sep 2003 20:24:15 -0500
User-agent: Mutt/1.4i

On Mon, Sep 08, 2003 at 04:38:40PM +1000, Clinton Roy wrote:
> Hi folks,
> 
> I've got code in configure.ac that eventually sets LIBS to:
> LIBS = -lgdbm  -L/dstc/lib -lxml2 -lz -lpthread -lm -ldb
> 
> However, ltmain.sh produces a .la file with:
> 
> dependency_libs=' /usr/lib/libgdbm.la -L/dstc/lib /usr/lib/libxml2.la -lz 
> -lpthread -lm -ldb'
> 
> How did that /usr/lib/libxml2.la get in there?
> 
> I'm using libtool 1.4.2, but have had the same problem with a hasty
> test install of branch-1-5 of CVS.
> 
> Some debugging code I inserted in ltmain.sh where this has previously
> been a problem (near the "Search the libtool library" comment):
> searching for gdbm in  . /dstc/lib
>           found in /usr/lib
> searching for xml2 in  . /dstc/lib /usr/lib /dstc/lib
>           found in /dstc/lib

What happens if you move /usr/lib/libxml2* out of the way first? Does
it then find /dstc/lib/libxml2.la. If so, looks like a libtool bug.

-- 
albert chin (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]