[CentOS] LD_LIBRARY_PATH issues

Peter Kjellstrom cap at nsc.liu.se
Fri Jul 6 07:26:16 UTC 2007


On Friday 06 July 2007, Garrick Staples wrote:
> Why LD_LIBRARY_PATH is bad:
> http://xahlee.org/UnixResource_dir/_/ldpath.html

Not argueing against you here, but "...is prepended to the existing list of 
compiled-in loader paths for a given executable, and any system default..." 
from the link above isn't quite true on linux. rpath'ed stuff in the binary 
is searched before even LD_LIBRARY_PATH.

/Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.centos.org/pipermail/centos/attachments/20070706/27ded86d/attachment.bin


More information about the CentOS mailing list