启动memcached的时候发现找不到libevent的库,这是memcache的默认查找路径不包含libevent的安装路径,所以要告诉memcached去哪里查找libevent。

操作命令如下:

1.touch /etc/ld.so.conf.d/libevent.conf

2.echo 'libevent的安装路径'  >>  /etc/ld.so.conf.d/libevent.conf;

3.ldconfig

posted on 2016-03-30 10:27  统一B界  阅读(268)  评论(0编辑  收藏  举报