error while loading shared libraries: libevent-2.0.so.5 安装好mamcache,启动服务时出现 error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory 首先查找一下libevent路径 [root@Test ~]# whereis libevent-2.0.so.5 libevent-2.0.so: /usr/lib/libevent-2.0.so.5 [root@Test ~]# ldd /usr/local/bin/memcached libevent-2.0.so.5 => /usr/lib64/libevent-2.0.so.5 (0x00002b3de80f6000) libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003598600000) libc.so.6 => /lib64/libc.so.6 (0x0000003597a00000) librt.so.1 => /lib64/librt.so.1 (0x0000003599200000) /lib64/ld-linux-x86-64.so.2 (0x0000003596a00000) [root@Test ~]# LD_DEBUG=libs ./memcached -v 找到默认路径 /usr/lib/ [root@Test ~]#sudo ln -s /usr/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5 [root@Test ~]#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) 完成后 顺利启动memcache
详细解决方案
error while loading shared libraries: libevent-2.0.so.5 安装好mamcache,启动服务时
热度:47 发布时间:2024-01-12 23:28:24.0
相关解决方案
- java报错Syntax error on token "return" invalid Type解决方案
- The server encountered an internal error () that prevented it from fulfilling th解决方案
- struts2的Action怎么返回指定路径的jsp或html,而不是返回SUCCESS、ERROR
- 'Update Progress' has encountered a problem An internal error has occurred解决方案
- GWT 报错,能的请进: com.google.gwt.event.shared.UmbrellaException: Exception caught: Se
- JSP向SQL数据库中写下数据时提示:Network error IOException: Connection refused: connect
- Error creating bean with name 'sessionFactory' defined in ServletContext resourc解决方法
- servlet+jquery1.4.2(ajax error?)解决方案
- Parse error in application web.xml,该如何解决
- java itext导出报Connection reset by peer: socket write error,该怎么处理
- Error reading resource: com/user/User.hbm.xml,该怎么解决
- Exception loading sessions from persistent storage,该怎么解决
- fatal error; call to a member function query() on a non-object异常求回答啊 php+sqlite
- Error creating bean with name 'sessionFactory' defined in class path resource解决方法
- 大家帮帮忙呀The server encountered an internal error () that prevented it解决方法
- 【100分】怎么监控多台服务器的log,alert,error
- SOS-(奇怪现象)服务器暂不可用500 internal server error,该怎么解决
- tomcat没法运行Could not publish to the server. Error while expanding
- JSF中javax.faces.el.PropertyNotFoundException: Error getting property的有关问题
- Syntax error on token "{" { expected after this token,该怎么解决
- WEBstruts The server encountered an internal error () that prevented it fr解决思路
- 'Update Progress' has encountered a problem An internal error has occurred解决方案
- object error!
- ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error,该如何解决
- Syntax error, insert "}" to complete Block,该如何处理
- error 哪位高手能帮忙解释哈什么有关问题
- log4j:ERROR setFile(null,false) call failed.解决方法
- 刚学struts写了一个很小很小的例子,但在部署之后启动tomcat报错,Error deploying configuration descriptor!解决方法
- Error occured during reequest processing: Java heap space,该怎么处理
- 联网有时会报java.io.IOException: error 10054 during TCP read异常