I have found by coincidence that on my Debian Jessie there is no LD_LIBRARY_PATH
variable (to be exact printenv | grep LD
shows nothing related to linker and echo "$LD_LIBRARY_PATH"
shows also nothing).
This is the case in x terminal emulator (which might clear it due to setgid) as well as in basic terminal (Ctrl+Alt+F1).
I know that LD_LIBRARY_PATH
may be considered bad so Debian may block it somehow, but on the other hand there are a few files in /etc/ld.so.conf.d/
that contains some directories to be added to LD_LIBRARY_PATH
. None of my rc files (that I know of) mess with LD_LIBRARY_PATH
either.
Why I don't see an LD_LIBRARY_PATH
variable?