cannot open shared object file: No such file or directory解决
来源:互联网 发布:php artisan serve 编辑:程序博客网 时间:2024/05/22 09:03
我是要解决加载log4cplus库时遇到这个问题,仿照类似方法解决问题:
cannot open shared object file: No such file or directory解决
./move_db: error while loading shared libraries: libmysqlclient.so.15: cannot
open shared object file: No such file or directory
第一步:确认有哪些Lib无法Load
>ldd move_db
linux-gate.so.1 => (0x0089c000)
libmysqlclient.so.15 => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00cfa000)
libm.so.6 => /lib/libm.so.6 (0x00804000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x009f8000)
libc.so.6 => /lib/libc.so.6 (0x0069e000)
/lib/ld-linux.so.2 (0x0067b000)
第二步:系统要确认动态库的地址,把动态库的路径放到/etc/ld.so.conf中
建议:在/etc/ld.so.conf.d/上新建动态库相应的文件配置文件*.conf,
在该文件中填上该动态库的绝对路径
此例:
vim /etc/ld.so.conf.d/ld.mysql.so.conf
/usr/local/mysql/lib
第三步:运行ldconfig重建/etc/ld.so.cache
0 0
- cannot open shared object file: No such file or directory
- cannot open shared object file: No such file or directory
- cannot open shared object file: No such file or directory
- cannot open shared object file: No such file or directory
- cannot open shared object file: No such file or directory
- cannot open shared object file: No such file or directory
- 关于cannot open shared object file: No such file or directory 的解决。
- 解决 libstdc++.so.5: cannot open shared object file: No such file or directory 问题
- Linux: cannot open shared object file xxx.so: No such file or directory 解决
- (转)解决Linux:cannot open shared object file: No such file or directory 类似问题
- cannot open shared object file: No such file or directory解决
- 关于cannot open shared object file: No such file or directory 的解决。
- cannot open shared object file: No such file or directory解决
- libopencv_shape.so.3.0: cannot open shared object file: No such file or directory 解决笔记
- cannot open shared object file: No such file or directory如何解决
- 解决错误 libmysqlclient.so.18: cannot open shared object file: No such file or directory
- 解决ImportError: libcudnn.so.6: cannot open shared object file: No such file or directory
- 解决Linux: error while loading shared libraries: ...: cannot open shared object file: No such file or directory 类似问题
- Android优秀开源项目[持续更新~欢迎推荐~]
- 六、表查询一
- Android中的Selector的用法
- 细数JDK里的设计模式
- bagging算法java实现(从N个样本中有放回地取N次)
- cannot open shared object file: No such file or directory解决
- 七、oracle 表查询二
- sql server2008 数据库显示时间的格式 数据库时间表示函数
- QNX可以在Atmel SAMA5D3x EVK上运行
- 3.5. Building DEB packages
- 八、oracle 分页
- 制作系统文件网址
- 用户需求的分类
- ASP.NET C#----页面间参数数据传递的主要方法