error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
原文:http://blog.csdn.net/david_xtd/article/details/7625626/
链接时可以通过-L和-l来指定自己的库,因此链接可以通过,但是运行时,系统仍无法找到指定的库,需要简单配置一下。
解决方法:
可以直接在将自己的库所在路径添加到/etc/ld.so.conf文件中。但一般这个文件中的内容都是一句“include /etc/ld.so.conf.d/*.conf”,因此最好在/etc/ld.so.conf.d/目录下新建一个文件 , 如“xxx.conf”,然后将自己的库所在路径添加到这个conf文件中。
修改完文件后,以root身份运行 /sbin/ldconfig -v 。这一步必不可少,别丢了。
这时重新运行自己的程序,就没有问题了。
error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or相关推荐
- Linux mtk flash_tool -error while loading shared libraries: libpng12.so.0: cannot open shared object
运行flash_tool时报错: ./flash_tool: error while loading shared libraries: libpng12.so.0: cannot open shar ...
- 执行srvctl报错 :error while loading shared libraries: libpthread.so.0:
执行srvctl是报错error while loading shared libraries: libpthread.so.0:[oracle@rac02 ~]$ srvctl /opt/ora10 ...
- 【linux排错】error while loading shared libraries: xxx.so.x 错误的原因和解决办法
一般我们在Linux下执行某些外部程序的时候可能会提示找不到共享库的错误, 比如: lcw: error while loading shared libraries: libjson.so.0: c ...
- linux fedora安装、运行mybase7.3.5报错:error while loading shared libraries: libpng12.so.0
直接安装即可: sudo dnf install libpng12 dnf安装的是32位的,在64位系统下无法使用,参考我的下面这篇文章来解决: https://zhangxueliang.blog. ...
- svn: error while loading shared libraries: libsvn_client-1.so.0
http://www.cnblogs.com/mangu-uu/archive/2012/08/23.html 定位问题的利器之strace svn安装在了tools目录外面,把文件夹移动tools/ ...
- iperf3 安装遇到 error while loading shared libraries: libiperf.so.0
iperf3: error while loading shared libraries: libiperf.so.0: cannot open shared object file: No such ...
- Oracle RAC安装过程中遇到“error while loading shared libraries libpthread.so.0”的解决办法...
在CentOS 5上安装Oracle 10.2.0.1 RAC的cluster software的时候,在最后一步,第二个节点,执行root.sh的时候,报告error while loading s ...
- rac安装过程中 error while loading shared libraries libpthread.so.0 问题的解决
rac安装过程中 error while loading shared libraries libpthread.so.0 问题的解决 2010-08-28 23:10 在CentOS 5上安装Ora ...
- FSL 运行错误 error while loading shared libraries: libopenblas.so.0
错误提示: error while loading shared libraries: libopenblas.so.0: cannot open shared object file: No suc ...
最新文章
- Linux下独立添加PHP扩展模块 mssql
- html连接服务器文件夹,云服务器html链接到文件夹
- uvalive4838(凸包+重心)
- Docker两个问题的讨论
- 托管与非托管的混合编程问题
- 功能Java示例 第5部分–将I / O移到外部
- mysql 开启远程访问_QxOrm 访问 MySQL
- 数组 排序 查找 多维数组
- indesign软件教程,如何将文本格式保存为样式?
- PostgreSQL参数学习:random_page_cost
- 胡波外挂做模具3D装配的方法
- 1223_MISRA_C规范学习_指针与数组的规则要求
- 不同主机之间通过XDMCP协议通信(X-server和X-client不在同一主机)
- 解决uniapp用了textarea标签设置了边框,右边边框溢出手机屏幕问题
- winrar命令行打自解压安装包不生效问题
- java+vue实现词云生成+展示(kumo+echarts-wordcloud )
- 分享下被偷走的那些年,我在做外包的心得体会
- mysql防火墙设置_mysql8 参考手册--MySQL企业防火墙配置参考
- PLM系统意义是什么?
- python 的 pointcloud 计算探路
热门文章
- Java设计模式(九):模板方法设计模式
- pycharm支持python3.8_PyCharm 2019.2 发布,Python 3.8功能的支持
- java杰森_java – 杰克逊杰森Mapper:没有场或空场?
- ontological 词根词缀_英语中最常见的词缀(一)之 re
- 基础正规表示法字符汇整 (characters)
- Day71 分页,cookie and Session
- Spark机器学习MLlib系列1(for python)--数据类型,向量,分布式矩阵,API
- μCos-ii学习笔记1_概述
- Kafka无消息丢失配置
- Hibernate Annotation中英文文档链接下载 (Hibernate 注解)