LD_LIBRARY_PATH foo:
Jakub Jelinek
jakub@redhat.com
Mon Feb 18 03:16:00 GMT 2002
Hi!
What's the reason why glibc ld.so handles empty paths in LD_LIBRARY_PATH
and RPATH/RUNPATH as current directory instead of skipping?
I've just checked what Solaris ld.so does and it looks like it is skipping
empty paths both in LD_LIBRARY_PATH and RPATH/RUNPATH, and Sun shell scripts
apparently cannot be bothered to check for null LD_LIBRARY_PATH before
prepending something to it.
Jakub
More information about the Libc-hacker
mailing list