This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: A question about LD_LIBRARY_PATH
- From: Alan Modra <amodra at gmail dot com>
- To: MARGUINAUD Philippe <philippe dot marguinaud at meteo dot fr>
- Cc: binutils at sourceware dot org
- Date: Tue, 26 Mar 2013 21:46:55 +1030
- Subject: Re: A question about LD_LIBRARY_PATH
- References: <51517CA1 dot 4010305 at meteo dot fr>
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