缺少动态连接库.so--cannot open shared object file: No such file or directory
来源:互联网 发布:linux更改用户名 编辑:程序博客网 时间:2024/05/22 11:37
总结下来主要有3种方法:
1. 用ln将需要的so文件链接到/usr/lib或者/lib这两个默认的目录下边
1. 用ln将需要的so文件链接到/usr/lib或者/lib这两个默认的目录下边
ln -s /where/you/install/lib/*.so /usr/lib
sudo ldconfig
2.修改LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/where/you/install/lib:$LD_LIBRARY_PATH
sudo ldconfig
3.修改/etc/ld.so.conf,然后刷新
vim /etc/ld.so.conf
add /where/you/install/lib
sudo ldconfig
阅读全文
0 0
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- linux 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- java利用ffmpeg将amr格式转化成mp3后无法播放音频
- JSW TOKEN 创建
- 我们能从java的HelloWorld学到什么?
- 业界首部安卓热修复宝典出炉!你想知道的一切都在这里了
- 子函数配置
- 缺少动态连接库.so--cannot open shared object file: No such file or directory
- 动态创建gridview,导出Excel数据
- c++int转换为String
- 排序算法的Python实现
- 《大话设计模式》——读后感 (8)好菜每回味不同——建造者模式之基础案例(1)
- Java学习笔记10——Servlet
- NKOJ-1517 选路
- 交换两个变量的值(三种方法)
- mysql 在select * from A left join B 多张表,不同表的主建ID会发生冲突的解决办法