安装memcached时找不到libevent的符号链接

时间:2014-02-27 16:21:21

标签: linux unix memcached symlink

安装memcached并尝试使用memached命令运行后,我收到此错误:

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

点击后我发现:http://www.nigeldunn.com/2011/12/11/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/lib64/libevent-2.0.so.5但我收到同样的错误。

我还能尝试什么?

1 个答案:

答案 0 :(得分:1)

我刚刚重新创建了符号链接,它似乎工作正常。我唯一能想到的是,也许我最初创建了以非root身份登录的链接。