"error while loading shared libraries: xxx.so.x" 错误的原因和解决办法
来源:互联网 发布:java线程synchronized 编辑:程序博客网 时间:2024/06/05 11:18
我是在ROS源码编译完成,运行roscore的时候,报错:
error while loading shared libraries: libconsole-bridge.so.0.3: 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这一行,保存之后,再运行
解决办法:
sudo cat /etc/ld.so.confsudo gedit /etc/ld.so.conf 在文件中添加一行:include /home/fa/ros_catkin_ws/external_src/console_bridge/lib 保存(因为我的libconsole-bridge.so.0.3文件在这里啊)sudo ldconfig
0 0
- "error while loading shared libraries: xxx.so.x" 错误的原因和解决办法
- error while loading shared libraries: xxx.so.x" 错误的原因和解决办法
- error while loading shared libraries: xxx.so.x"错误的原因和解决办法
- error while loading shared libraries: xxx.so.x"错误的原因和解决办法
- "error while loading shared libraries: xxx.so.x" 错误的原因和解决办法
- error while loading shared libraries: xxx.so.x"错误的原因和解决办法
- error while loading shared libraries: xxx.so.x"错误的原因和解决办法
- error while loading shared libraries: xxx.so.x"错误的原因和解决办法
- error while loading shared libraries: xxx.so.x"错误的原因和解决办法
- error while loading shared libraries: xxx.so.x"错误的原因和解决办法
- error while loading shared libraries: xxx.so.x"错误的原因和解决办法
- error while loading shared libraries: xxx.so.x"错误的原因和解决办法
- "error while loading shared libraries: xxx.so.x" 错误的原因和解决办法
- error while loading shared libraries: xxx.so.x"错误的原因和解决办法
- [Linux-3] error while loading shared libraries: xxx.so.x"错误的原因和解决办法
- "error while loading shared libraries: xxx.so.x" 错误的原因和解决办法
- error while loading shared libraries: xxx.so.x"错误的原因和解决办法
- "error while loading shared libraries: xxx.so.x" 错误的原因和解决办法
- radio[checked="checked"] jquery设定选中,画面未选中
- 【Android】利用 ACRA 实现在规定时间内崩溃次数超过规定值就自动清理 APP 数据
- 敏捷开发-为什么要使用持续集成
- linux下安装mysql和java,linux在线安装mysql和java,yum mysql和yum java
- Logstash 快速入门
- "error while loading shared libraries: xxx.so.x" 错误的原因和解决办法
- justreq与mock.js组合,快速打造高质量Mock Server
- eclipse部署,在tomcat中找不到eclipse发布的项目。eclipse更改项目发布路径
- CoordinatorLayout实现view的联动效果
- UE的使用
- java 女神系统 ④
- C#实现终端打印等边三角形
- Kafka 0.9.0.x 控制消费数据数量
- 动态添加删除网卡