/usr/local/bin/memcached: error while loading shared libraries: libevent-1.3.so.1: cannot open shared object file: No such file or directory
CentOS6.5
[root@R510101 etc]# cd ld.so.conf.d
[root@R510101 ld.so.conf.d]# ls
atlas-x86_64.conf kernel-2.6.32-431.el6.x86_64.conf mysql-x86_64.conf qt-x86_64.conf
[root@R510101 ld.so.conf.d]# vim memcached.conf在文件memcached.conf中加入路径,/usr/lib
或者刷新ldconfig也行

本文提供了解决CentOS6.5环境下memcached启动时出现error while loading shared libraries错误的方法,包括修改ld.so.conf.d目录下的配置文件以及刷新ldconfig。
1170

被折叠的 条评论
为什么被折叠?



