error while loading shared libraries: cannot open shared object file: No such file or directory

1. edit “/etc/” or add “/etc/”

2. run “ldconfig”


If you have no access right to modify /etc/, you may run command “export”.

1. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

or put it in ~/.bashrc


For ./configure, you may add option like “./configure –prefix=$HOME/yourlib


no comment untill now

Sorry, comments closed.