首页 > 系统服务 > 详细

启动Memcached报错:/usr/local/memcached/bin/memcached: error while loading shared libraries: libevent-2.1.so.6: cannot open shared object file: No such file or directory

时间:2017-09-23 12:04:42      阅读:998      评论:0      收藏:0      [点我收藏+]

1、查找文件放在哪里

sudo find / -name libevent-2.1.so.6

发现放在/usr/local/lib/libevent-2.1.so.6下。

2、创建软链接

sudo ln -s /usr/local/lib/libevent-2.1.so.6 /usr/lib/libevent-2.1.so.6

 

参考:

https://my.oschina.net/itblog/blog/633074

启动Memcached报错:/usr/local/memcached/bin/memcached: error while loading shared libraries: libevent-2.1.so.6: cannot open shared object file: No such file or directory

原文:http://www.cnblogs.com/EasonJim/p/7580220.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!