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

错误信息:
/usr/local/memcacheq/bin/memcacheq: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory
 
查找链接包 :
LD_DEBUG=libs /usr/local/memcacheq/bin/memcacheq -v | grep libevent
     27382: find library=libm.so.6 [0]; searching
     27382: search cache=/etc/ld.so.cache
     27382:  trying file=/lib64/libm.so.6
     27382:
     27382: find library=libdb-4.7.so [0]; searching
     27382: search cache=/etc/ld.so.cache
     27382:  trying file=/lib64/libdb-4.7.so
     27382:
     27382: find library=libevent-2.0.so.5 [0]; searching
     27382: search cache=/etc/ld.so.cache
     27382: search path=/lib64/tls/x86_64:/lib64/tls:/lib64/x86_64:/lib64:/usr/lib64/tls/x86_64:/usr/lib64/tls:/usr/lib64/x86_64:/usr/lib64 (system search path)
     27382:  trying file=/lib64/tls/x86_64/libevent-2.0.so.5
     27382:  trying file=/lib64/tls/libevent-2.0.so.5
     27382:  trying file=/lib64/x86_64/libevent-2.0.so.5
     27382:  trying file=/lib64/libevent-2.0.so.5
     27382:  trying file=/usr/lib64/tls/x86_64/libevent-2.0.so.5
     27382:  trying file=/usr/lib64/tls/libevent-2.0.so.5
     27382:  trying file=/usr/lib64/x86_64/libevent-2.0.so.5
     27382:  trying file=/usr/lib64/libevent-2.0.so.5
     27382:
建立 链接 :
sudo ln -s /usr/lib/libevent-2.0.so.5.1.7 /lib64/libevent-2.0.so.5 

你可能感兴趣的:(error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory)