This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A question about LD_LIBRARY_PATH


On Tue, Mar 26, 2013 at 7:16 AM, Alan Modra <amodra@gmail.com> wrote:
> 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

It's also worth nothing that some distributions enable
--enable-new-dtags by default in their toolchains:
    openSuSE: http://sourceware.org/ml/binutils/2012-05/msg00029.html
    gentoo: http://sourceware.org/ml/binutils/2012-05/msg00033.html
    mandriva: https://qa.mandriva.com/show_bug.cgi?id=28465


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]