memcache搭建问题

memcache搭建完,启动时报错:(确认libevent已安装)

memcached: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory

建立如下链接:

ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5

(64位系统)

ln -s /usr/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5

相关推荐