linux加载共享问题error while loading shared libraries: xxx.so.0:cannot open shared object file: No such fi
来源:互联网 发布:惠普m1216nfh扫描软件 编辑:程序博客网 时间:2024/06/05 11:28
在linux下运行程序时,发现了error while loading shared libraries这种错误,一时间不知道解决办法,在网上搜索,终于解决了:
./tests: error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or directory
出现这类错误表示,系统不知道xxx.so放在哪个目录下,这时候就要在/etc/ld.so.conf中加入xxx.so所在的目录。
一般而言,有很多的so会存放在/usr/local/lib这个目录底下,去这个目录底下找,果然发现自己所需要的.so文件。
所以,在/etc/ld.so.conf中加入/usr/local/lib这一行,保存之后,再运行:/sbin/ldconfig –v更新一下配置即可。
0 0
- linux加载共享问题error while loading shared libraries: xxx.so.0:cannot open shared object file: No such fi
- error while loading shared libraries: XXX.so: cannot open shared object file: No such file...
- Linux运行错误:error while loading shared libraries: xxx.so.0:cannot open shared object file: No such fil
- 关于 error while loading shared libraries: libfaac.so.0: cannot open shared object file: No such fi
- 运行错误:error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
- 运行错误:error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
- 运行错误:error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
- error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
- error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
- error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
- glpsol: error while loading shared libraries: libglpk.so.0: cannot open shared object file: No such
- 关于 error while loading shared libraries: libXXX.so.1.2.3: cannot open shared object file: No such fi
- error while loading shared libraries: libevent-1.3e.so.1: cannot open shared object file: No such fi
- 关于 error while loading shared libraries: libXXX.so.1.2.3: cannot open shared object file: No such fi
- error while loading shared libraries: libXXX.so.x: cannot open shared object file: No such file
- error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file.....
- error while loading shared libraries: libiw.so.29: cannot open shared object file: No such file
- error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file
- log4j
- 用inline-block实现两列布局,在手机浏览器上有兼容性问题
- keygen Intellij idea 13/14 破解
- Terminal 打开xcode项目
- Tripleo之nova-compute 和Ironic的代码深入分析(五)
- linux加载共享问题error while loading shared libraries: xxx.so.0:cannot open shared object file: No such fi
- 今天开始写博客
- LeetCode 51 N-Queens II
- hdu4845 状态压缩搜索水题
- ora-01658:无法为表空间usertbs中的段创建initial区
- js选取元素的宽(高)度
- collection collections
- cassandra入门 框架模型 总结
- iOS开发之自定义表情键盘(组件封装与自动布局)