error while loading shared libraries: libevent-2.0.so.5
来源:互联网 发布:js对象转换成字符串 编辑:程序博客网 时间:2024/06/06 07:18
今天安装memcache
启动服务时出现 error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory
>whereis libevent-2.0.so.5
libevent-2.0.so.5: /usr/local/lib/libevent-2.0.so.5
> ldd /usr/local/bin/memcached
libevent-2.0.so.5 => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b83fce0e000)
libc.so.6 => /lib64/libc.so.6 (0x00002b83fd029000)
librt.so.1 => /lib64/librt.so.1 (0x00002b83fd381000)
/lib64/ld-linux-x86-64.so.2 (0x00002b83fc9b0000)
> LD_DEBUG=libs ./memcached -v
找到默认路径 /usr/lib/
>sudo ln -s /usr/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5
>sudo ldd /usr/local/bin/memcached
libevent-2.0.so.5 => /usr/lib64/libevent-2.0.so.5 (0x00002b83fcbcd000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b83fce0e000)
libc.so.6 => /lib64/libc.so.6 (0x00002b83fd029000)
librt.so.1 => /lib64/librt.so.1 (0x00002b83fd381000)
/lib64/ld-linux-x86-64.so.2 (0x00002b83fc9b0000)
原文地址:http://www.apoyl.com/?p=141
- error while loading shared libraries: libevent-2.0.so.5
- error while loading shared libraries: libevent-2.0.so.5
- error while loading shared libraries: libevent-2.0.so.5
- error while loading shared libraries: libevent-2.0.so.5
- error while loading shared libraries: libevent-2.0.so.5解决办法
- memcached error while loading shared libraries: libevent-2.0.so.5
- error while loading shared libraries: libevent-2.0.so.5解决办法
- 安装libevent遇到的问题,error while loading shared libraries: libevent-2.0.so.5,
- error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file
- memcached: error while loading shared libraries:libevent-2.0.so.5: cannot open shared object file:
- error while loading shared libraries: libevent-2.0.so.5 (安装MEMCACHED问题)
- memcached: error while loading shared libraries: libevent-2.0.so.5: cannot o
- memcached: error while loading shared libraries: libevent-2.0.so.5: cannot o解决
- memcached: error while loading shared libraries: libevent-2.0.so.5: cannot o解决
- error while loading shared libraries: libevent-2.0.so.5 安装好mamcache,启动服务时
- memcached: error while loading shared libraries: libevent-2.0.so.5: cannot o解决
- error while loading shared libraries: libevent-2.0.so.5 (安装MEMCACHED问题)
- memcached安装时memcached: error while loading shared libraries:libevent-2.0.so.5: cannot 的问题解决
- 远程登录服务器过慢
- Js apply方法详解
- c++高级---C++中的头文件和源文件(链接时怎么对应、头文件中能定义什么)
- Windows编程中各种操作文件的方法
- 3G网络类型
- error while loading shared libraries: libevent-2.0.so.5
- 在Ubuntu上安装和配置OpenStack Nova(2)
- 表驱动方法(非常好的数据结构)
- alert之后,让某个控件获得焦点
- TD-LTE和LTE TDD有什么区别
- 汽车加油问题(智力题)
- 题目2:成绩排序
- 在Ubuntu上安装和配置OpenStack Nova(3)
- Android异常总结---res\layout\addUser.xml: Invalid file name: must contain only [a-z