error while loading shared libraries: libevent-2.0.so.5
来源:互联网 发布:淘宝个人店和企业店 编辑:程序博客网 时间:2024/05/22 00:39
今天安装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
http://hi.baidu.com/wxlccsu/item/fca7240a218b980b6c90481c- 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 的问题解决
- java泛型
- ANR错误之 keyDispatchingTimedOut
- oracle 数据库逻辑存储结构
- Cursor的两个小总结
- The ShortKey for Gvim & Vim
- error while loading shared libraries: libevent-2.0.so.5
- linux 环境变量和库文件搜索路径
- 诺顿防病毒新增到鼠标右键,文件和文件夹
- java程序路径分析
- SQL2005 安装时 “性能监视器计数器要求(错误)” 解决方案
- 【黑马程序员】 java笔记——银行业务调度系统
- 推送的实现,使用百度云推送
- Android WIFI及手机网络连接情况检查
- linux下各硬件设备的文件名