缺少编译库libgmp.so.3: cannot open shared object file: No such file解决方案
来源:互联网 发布:马歇尔计划 知乎 编辑:程序博客网 时间:2024/06/14 09:57
编译android SDK时出现缺少这个so库的解决方案,如下
cc1: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory
(1)首先查找这个 libgmp.so.3这个so库是否有安装
$ aptitude search libgmp
(2)如果没有安装就安装
aptitude install -y libgmp-dev
如果安装了就检查下这个so库是否链接好了,指定链接
$ cd /
$ find -name libgmp.so.*
$ ls -l ./usr/lib/x86_64-linux-gnu/libgmp.so*
$ cd ./usr/lib/x86_64-linux-gnu/
$ ls -l libgmp.so.*
$ ln -s libgmp.so.10.0.2 libgmp.so.3
1 0
- 缺少编译库libgmp.so.3: cannot open shared object file: No such file解决方案
- 缺少编译库libgmp.so.3: cannot open shared object file: No such file解决方案
- ubuntu安装ghc遇到的问题 缺少编译库libgmp.so.3: cannot open shared object file: No such file解决方案
- 缺少动态连接库.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
- android单选按钮使用
- AutoCompleteTextView和MultiAutoCompleteTextView控件
- 【Linux开发】OpenCV在ARM上的移植
- QQ首位产品经理吴宵光:腾讯17年旅途的14个关键点
- Java版-九大排序算法
- 缺少编译库libgmp.so.3: cannot open shared object file: No such file解决方案
- 编程之美读书笔记-寻找数组中的最大值和最小值
- 高效的批量数据库操作
- Leetcode 97. Interleaving String 交错字符判别 解题报告
- JVM参数配置大全
- 奇妙的等式 && 精妙的证明(二)
- 走进tomcat之一个简单Web服务器
- 段选择符和段寄存器
- android实现移动按钮