ITeye博客

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

MyEyeOfJava · 2011-12-13 11:07 · curl-loader · 开源软件 · Markdown

安装好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"

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。