Hi,
Here is a article: http://xahlee.org/UnixResource_dir/_/ldpath.html
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 ld.so:
The shared libraries needed by the program are searched for in various
places:
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 <[EMAIL PROTECTED]>
Předmět: Why is "setting LD_LIBRARY_PATH very bad"?
Datum: 24.10.2007 22:16:36
----------------------------------------
Hi,
I've seen very frequent references to "LD_LIBRARY_PATH bad".
Is there a reference that summaries this badness?
trt
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool