logo       

Re: libtool-1.5.2 searches /usr/lib before -L<dir>: msg#00081

gnu.libtool.general

Subject: Re: libtool-1.5.2 searches /usr/lib before -L<dir>

On Sat, Feb 21, 2004 at 10:43:22AM -0800, Russ Allbery wrote:
> Pieter Grimmerink <mailinglists@xxxxxxxxxxxxx> writes:
>
> > OK, now I've given the library in -L<dir> a .la file as well. Now both
> > libraries have a .la file, and libtool-1.5.2 uses the correct library,
> > in -L<dir>. So that's solved then.
>
> So, basically, it sounds like libtool has reinvented the very annoying
> Tru64 library search mechanism, where any shared libraries are found
> before static libraries regardless of the relative order on the library
> path, except as applied to *.la files.

I don't think libtool is doing this. It looks like it's preferring
libraries with corresponding .la files. Even that is a bug though.
Someone needs to dig further.

--
albert chin (china@xxxxxxxxxxxxxxxxxx)


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise