例如:libvtkfreetype-8.2.so.1: cannot open shared object file: No such file or directory
1.查找库位置

 whereis libvtkfreetype-8.2.so.1 

libvtkfreetype-8.2.so: /usr/local/lib/x86_64-linux-gnu/libvtkfreetype-8.2.so /usr/local/lib/x86_64-linux-gnu/libvtkfreetype-8.2.so.1

2. 在/etc/ld.so.conf最后一行添加

include ld.so.conf.d/*.conf
/usr/local/lib/x86_64-linux-gnu/

3. 让动态链接库为系统所共享

sudo ldconfig

linux之解决lib***.so.*: cannot open shared object file相关推荐

  1. 【超详细教程】解决libxxx.so: cannot open shared object file: No file or directory

    一.参考资料 error while loading shared libraries的解决方案 libascend_hal.so: cannot open shared object file:No ...

  2. Linux错误 libXext.so.6: cannot open shared object file

    #安装libXext.i686依赖 yum install libXext.i686

  3. 报错解决:cp: error while loading shared libraries: libc.so.6: cannot open shared object file: No such fi

    我的个人博客:zhang0peter的个人博客 先说一下为什么会发生这个错误,我看这篇博客:分享Centos6.5升级glibc过程 ,里面提到了如下命令: $ rm -rf /lib64/libc. ...

  4. [h5py] 解决ImportError: libhdf5.so.103: cannot open shared object file: No such file or directory

    安装和运行h5py遇到的问题和解决办法. 安装h5py后,导入h5py库出现如下报错信息.后来发现,这个问题也会出现在安装h5py库时. # python3 Python 3.7.1 | packag ...

  5. OSError: libcudart.so.8.0: cannot open shared object file: No such file or directory 解决方法

    OSError: libcudart.so.8.0: cannot open shared object file: No such file or directory 解决方法 检查cuda8是否安 ...

  6. 解决libreadline.so.6: cannot open shared object file: No such file or directory的问题

    之前有一个在ubuntu16.04上正常运行的程序,搬到一个ubuntu18.04的机器上以后,报错: error while loading shared libraries: libreadlin ...

  7. ros melodic解决报错ImportError: libcv_bridge.so: cannot open shared object file: No such file or directo

    问题描述 为了解决ros melodic python3 与cv_brdige不兼容问题需要重新编译该包.这个cv_brdige主要是为了解决将ros的数据转换成opencv能够读取的数据. 根据博客 ...

  8. 交叉编译-15::libmpc.so.3: cannot open shared object file解决方法

    在使用CMake编译库时候有以下问题: /opt/ov798/bin/-/libexec/gcc/arm-ov798-linux-uclibcgnueabi/4.8.4/cc1: error whil ...

  9. swig: error while loading shared libraries: libpcre.so.1: cannot open shared object file 亲测解决方法

    安装完毕 PCRE 和 swig 之后,执行 swig -version 发现报错 如下: swig: error while loading shared libraries: libpcre.so ...

最新文章

  1. linux系统安全设置
  2. Composer update 问题: Could not authenticate against github.com
  3. Mybatis学习笔记(1)——第一个程序
  4. 在苏州的一个超级棒的事情
  5. python画卡通人物用什么_干啥啥不行,吹牛第一名——Python头像动漫化,快来用女朋友照片生成一个动漫头像吧...
  6. JAVAAPI之STRING类和STRINGBUFER类
  7. android 获得手机外插SD卡 存储路径和存储空间
  8. jquery批量删除
  9. 继续上一篇剩下的例子
  10. 数据结构 5-3-3 二叉树的线索化
  11. datagrid底部显示水平滚动_滚动穿透问题探索
  12. Web端和移动端接入萤石云平台的视频数据
  13. 郑传华:微商快速赚钱108招
  14. PLUS模型教程2:数据前期准备和土地利用数量预测
  15. 一季度出货量暴跌22%,小米手机已“师老兵疲”
  16. 如何基于 RISC-V CPU 集成一个 RISC-V SoC 呢?(上)
  17. RPA中ROI是怎么计算的
  18. 我的世界服务器整人系列,我的世界:整人还在用TNT?老玩家用这7个道具简直谁见谁怕!...
  19. 简单描述微信支付pay
  20. windows11 任务栏和开始菜单都不见了怎么办?

热门文章

  1. [.NET] : 设定Windows Service启动类型
  2. 项目管理与项目组合管理的不同
  3. 记2个月来,我在Csdn 掀起的微软面试风暴
  4. Zabbix 配置钉钉告警功能
  5. Zabbix---6 监控 端口 连接数
  6. Windows Excel 中的符号字体 webdings (C:\Windows\Fonts\webdings.ttf)
  7. RpcException:No provider available for remote service异常
  8. java方法的理解、调用栈与异常处理
  9. ubuntu16.04 打开chrome弹出“Enter password to unlock your login keyring”解决方法
  10. 解决ajax异步请求数据后swiper不能循环轮播(loop失效)问题、滑动后不能轮播的问题。