启动Memcached报错:/usr/local/memcached/bin/memcached: error while loading shared libraries: libevent-2.1

Posted Jim

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了启动Memcached报错:/usr/local/memcached/bin/memcached: error while loading shared libraries: libevent-2.1相关的知识,希望对你有一定的参考价值。

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的主要内容,如果未能解决你的问题,请参考以下文章

memcached linux安装并启动memcached

linux下memcached的启动/结束的方式

关于执行memcached报错问题

linux 启动nacos报错_linux下启动Nacos报错解决:which: no javac in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/

linux 启动nacos报错_linux下启动Nacos报错解决:which: no javac in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/

error while loading shared libraries: libevent-2.1.so.6 的解决办法