error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory

1. edit “/etc/ld.so.conf” or add “/etc/ld.so.conf.d/your.conf”

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

Trackback

no comment untill now

Sorry, comments closed.