[Top][All Lists]

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

Re:Why is "setting LD_LIBRARY_PATH very bad"?

From: Jan.Horan
Subject: Re:Why is "setting LD_LIBRARY_PATH very bad"?
Date: Thu, 25 Oct 2007 11:06:55 +0200 (CEST)


Here is a article:

Note also that using of RPATH is obsolete (DT_RPATH in ELF) due to it's 
incorrect precedence to LD_LIBRARY_PATH.
RUNPATH (DT_RUNPATH) should be used instead. This is from man

      The shared libraries needed by the program are searched for in various

      o (ELF only) Using the DT_RPATH dynamic section attribute of the
             binary if present and DT_RUNPATH attribute does not exist. Use
             of DT_RPATH is deprecated.

      o Using the environment variable LD_LIBRARY_PATH. Except if the
             executable is a set-user-ID/set-group-ID binary, in which case
             it is ignored.

      o (ELF only) Using the DT_RUNPATH dynamic section attribute of the
             binary if present.

------------ Původní zpráva ------------
Od: Tom Treadway <address@hidden>
Předmět: Why is "setting LD_LIBRARY_PATH very bad"?
Datum: 24.10.2007 22:16:36
I've seen very frequent references to "LD_LIBRARY_PATH bad".
Is there a reference that summaries this badness?



reply via email to

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