PDA

View Full Version : Changing library path



Mitch
11th July 2014, 20:27
I found a way to change the library path that you need to set with LD_LIBRARY_PATH.



sudo apt-get install chrpath


Read and replace the library path(s)


chrpath libcod2.so # read without replacing
chrpath -r .:libs libcod2.so # replace


Now LD_LIBRARY_PATH is no longer required.

http://linux.die.net/man/1/chrpath