memcache 启动报错
来源:互联网 发布:钩针和棒针的区别知乎 编辑:程序博客网 时间:2024/06/14 20:41
启动服务时出现 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)
>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)
0 0
- memcache 启动报错
- 修改主机名mq不能成功启动memcache失败报错
- linux安装memcache报错
- linux上启动Memcache报错:error while loading shared libraries: libevent-1.4.so.2
- linux上启动Memcache报错:error while loading shared libraries: libevent-1.4.so.2
- memcache 启动
- (转)linux上启动Memcache报错:error while loading shared libraries: libevent-1.4.so.2
- mac memcache,xCode。启动memcache
- 启动Tomcat报错
- MyEclipse启动报错
- eclipse 启动 报错
- tomcat 启动报错
- 启动tomcat报错
- 启动weblogic 报错
- Eclipse启动报错
- eclipse启动报错
- eclipse启动报错
- mysql 启动报错
- 视频抠像软件Imagineer Systems Mokey
- Android Activity完整的生命周期深入理解
- 《Linux防火墙》学习摘要
- NSLocalizedString 国际化失败
- 无线充电技术介绍
- memcache 启动报错
- 笔记:浅谈java虚拟机(四)
- Android开发的工具类一
- android学习笔记一(基础部分)
- maven 和eclipse插件
- java复习第七课,控制语句
- 并查集 畅通工程
- iOS CocoaPods自动管理第三方开源库
- NOJ 1447 大作业