|
From: | Jan.Horan |
Subject: | Re:Why is "setting LD_LIBRARY_PATH very bad"? |
Date: | Thu, 25 Oct 2007 11:06:55 +0200 (CEST) |
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 <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |