首页 > 代码库 > 启动Memcache,出现memcached: error while loading shared libraries: libevent-1.4.so.1: cannot open shared

启动Memcache,出现memcached: error while loading shared libraries: libevent-1.4.so.1: cannot open shared

 

1、有可能是装了多个 libevent而导致memcache无法识别哪一个,解决方法就是卸载掉一个libevent

2、只安装了一个libevent,但是也报这个错,解决方法

        32位系统下:ln -s /usr/lib/libevent-1.4.so.1  /usr/lib/

64位系统下:ln -s /usr/lib/libevent-1.4.so.1  /usr/lib64/

启动Memcache,出现memcached: error while loading shared libraries: libevent-1.4.so.1: cannot open shared