Results 1 to 2 of 2
What is the correct method to set LD_LIBRARY_PATH?? Should an export command be used to indicated paths , OR should it only be set in /etc/ld.so.conf.d directory and then use ...
- 10-24-2007 #1Just Joined!
- Join Date
- Oct 2006
- Location
- Bismarck, North Dakota USA
- Posts
- 3
LD_LIBRARY_PATH - Correct way to set this.
What is the correct method to set LD_LIBRARY_PATH?? Should an export command be used to indicated paths , OR should it only be set in /etc/ld.so.conf.d directory and then use the ldconfig to refresh???
Please any very experienced Suse Linux user, i could use your opinion. Thanks.
- 10-26-2007 #2Linux Engineer
- Join Date
- Nov 2004
- Location
- Ft. Polk, LA
- Posts
- 796
For numerous reasons, refrain from usingg LD_LIBRARY_PATH for almost all things. ld.so.conf is the proper way to set lib paths. Search google for LD_LIBRARY_PATH and you'll find out why.


Reply With Quote