bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool bug: freebsd -rpath, LD_LIBRARY_PATH issues


From: Ralf Wildenhues
Subject: Re: libtool bug: freebsd -rpath, LD_LIBRARY_PATH issues
Date: Tue, 8 Nov 2005 17:04:42 +0100
User-agent: Mutt/1.5.11

Hi Dave,

* Dave Benson wrote on Tue, Nov 08, 2005 at 04:31:21PM CET:
> 
> I've been porting some software to freebsd 5.4,
> and i've been encountering an issue in the
> precedence of LD_LIBRARY_PATH versus -rpath.
> 
> Apparently, linux and older version of freebsd
> treat -rpath to be of higher precedence.
> The newest freebsds treat LD_LIBRARY_PATH
> as having higher precedence.  (apparently solaris
> also has LD_LIBRARY_PATH higher precendence)
> 
> The end-result is that on freebsd, my test programs etc
> are using the *installed* version of the library,
> rather than the one in '.'.  unfortunately, i cannot
> drop the LD_LIBRARY_PATH use b/c that's needed for
> much other software on the system to work
> (not everyone uses -rpath)
> 
> I believe that the libtool convenience wrapper should
> use the method of highest precedence, or use all the methods all
> the time to ensure that those wrappers set things up to
> use the local software.

I am working on a related fix at the moment.
Give me a little bit time, it should be fixed in 1.5.22.
I can notify you when I have something to test.

Cheers,
Ralf




reply via email to

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