Blank environment variables

Archives Forums/Linux Discussion/Blank environment variables

JoshK(Posted 2015) [#1]
The following values are blank when printed out with the System command:
SYSTEM_LD_LIBRARY_PATH
SYSTEM_PATH
System("echo $SYSTEM_LD_LIBRARY_PATH")
System("echo $SYSTEM_PATH")



markcw(Posted 2015) [#2]
I think you'll want $PATH and $LD_LIBRARY_PATH.
https://help.ubuntu.com/community/EnvironmentVariables

However, it says in the manual that this is not the proper way to use shared libraries.
http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
And at Environment Variables there is a broken link to this article:
http://xahlee.info/UnixResource_dir/_/ldpath.html