Thursday, January 17, 2008

[Work] change LD_LIBRARY_PATH

if the program cannot locate some *.so libraries and you are not the root user, change the LD_LIBRARY_PATH of your shell resource file,

for tcsh

setenv LD_LIBRARY_PATH $HOME/lib:$LD_LIBRARY_PATH

In this case, you can put any missed libraries into the fold $HOME/lib

for bash

export LD_LIBRARY_PATH=$HOME/lib:PATH

No comments: