【转】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 
上一篇:写给自己看的Linux运维基础(二) - Apache/MySQL. 安全设置. 定时任务


下一篇:《Deep Learning》第二章 线性代数 笔记