测试:/usr/local/memcacheq/bin/memcachq -h 运行报: memcacheq: error while loading shared libraries: libdb-5.1.so: cannot open shared object file: No such file or directory 解决方法:ln -s /usr/local/BerkeleyDB.5.1/lib/libdb-5.1.so /usr/lib/libdb-5.1.so memcacheq: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory
安装libevent 检查一下有没有安装libevent: ls -al /usr/lib |grep libevent 如果没有就安装libevent ,下载地址:http://www.libevent.org (首页 Download–Stable releases) 解压:# tar -zxvf libevent-***-.tar.gz #cd libevent-***- #./configure --prefix=/usr #make && make install 安装完检测下 ls -al /usr/lib |grep libevent lrwxrwxrwx 1 root root 21 02-06 20:26 libevent-1.4.so.2 -> libevent-1.4.so.2.1.3 ................................. -rw-r--r-- 1 root root 11838 04-13 14:03 libevent_pthreads.a -rwxr-xr-x 1 root root 996 04-13 14:03 libevent_pthreads.la lrwxrwxrwx 1 root root 30 04-13 14:03 libevent_pthreads.so -> libevent_pthreads-2.0.so.5.1.6 lrwxrwxrwx 1 root root 21 04-13 14:03 libevent.so -> libevent-2.0.so.5.1.6 |
memcacheq: error while loading shared libraries: libdb-5.1.so: cannot open shared object file: No su
最新推荐文章于 2024-04-28 13:26:37 发布