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 ([EMAIL PROTECTED]) _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool
