A question about LD_LIBRARY_PATH

Alan Modra amodra@gmail.com
Tue Mar 26 11:17:00 GMT 2013


On Tue, Mar 26, 2013 at 11:46:57AM +0100, MARGUINAUD Philippe wrote:
> I have a question about the environment variable LD_LIBRARY_PATH. I
> would like to know whether it takes precedence over the RPATH encoded in
> the binary executable.

It depends on whether your apps are using DT_RPATH or DT_RUNPATH.

http://en.wikipedia.org/wiki/Rpath

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list