Re: dependency_libs issue

2003-10-20 Thread Albert Chin
On Mon, Sep 08, 2003 at 04:38:40PM +1000, Clinton Roy wrote: 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

libtool 1.4.3 searches /usr/lib before -Ldir

2003-10-20 Thread Pierre Sarrazin
I'm having a problem related to the path that libtool (1.4.3) uses to search for libraries. I have a C++ package that contains a library and two command-line tools. If I install this package through an RPM (on a RedHat 8.0 system), I endup with the lib*.la and lib*.so files in /usr/lib. I get