六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 35|回复: 0

[curl-loader]运行curl-loader时缺少libcares.so.2

[复制链接]

升级  73%

127

主题

127

主题

127

主题

举人

Rank: 3Rank: 3

积分
419
 楼主| 发表于 2013-1-31 10:47:31 | 显示全部楼层 |阅读模式
安装好curll-loader后,运行缺少so动态库的解决方案

./curl-loader -f conf-examples/mysimp.conf ./curl-loader: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory

执行以下操作可以解决上面的问题
1.查找本机是否存在libcares.so.2,curl-loader中肯定有。
locate libcares.so.2
2. 在  /etc/ld.so.conf.d/新建一个配置文件:curl-loader.conf,里面写一行代码:即libcares.so.2文件所在的lib路径
3 execute command " ldconfig"
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表