| 测试:/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-16 15:17:31 发布
本文介绍了如何解决Memcacheq在启动过程中遇到的缺少libdb-5.1.so和libevent-2.0.so.5共享库的问题,并提供了详细的解决步骤,包括创建软链接和安装libevent库。
5万+

被折叠的 条评论
为什么被折叠?



