我们得知memcached查找动态库的位置是 /lib64 和 /usr/lib64/,所以我们只需把libevent-1.4.so.2 链接到这两个目录就可以了
ln -s /usr/
local
/lib/libevent-1.4.so.2 /usr/lib64/libevent-1.4.so.2
我们得知memcached查找动态库的位置是 /lib64 和 /usr/lib64/,所以我们只需把libevent-1.4.so.2 链接到这两个目录就可以了
ln -s /usr/
local
/lib/libevent-1.4.so.2 /usr/lib64/libevent-1.4.so.2
在非root用户下,安装完libevent和membercached后,启动时候报标题上的错误,应该是membercached无法找到so库了。处理:1查看该命令找了哪些路径下的so文件 LD_DEBUG=libs /home/baixiaoyu/memcached -v2没有root权限,所以设置了变量 export LD_LIBRARY_PATH=/home//
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M