启动 Memcached 报错:
/usr/local/bin/memcached: error while loading shared libraries: libevent-2.1.so.7: cannot open shared object file: No such file or directory
解决方法如下:
1、查找libevent命令所在目录
[root@localhost ~]# sudo find / -name libevent-2.1.so.7
/usr/local/lib/libevent-2.1.so.7
/root/libevent-2.1.11-stable/.libs/libevent-2.1.so.7
2、查看 memcached 从哪里启动 libevent(重要!!!
)
[root@localhost