在centos中运行出现错误:cannot find -lbz2
来源:互联网 发布:arm java 指令集 编辑:程序博客网 时间:2024/05/16 15:59
在centos6.5中编译程序时,出现以下错误:
/usr/bin/ld: cannot find -lbz2
collete2: ld returned exit status
到网上查找原因,可能是已安装的包不全。
运行如下:
也就是说,已经有bzip2-libs被安装了,但是这只是一部分。
所以解决方法如下:
. sudo yum install bzip2-devel
至此,configure works.
0 0
- 在centos中运行出现错误:cannot find -lbz2
- ld cannot find -lbz2
- cannot find -lbz2
- 解决centos中安装pdo_dblib时出现的"Cannot find FreeTDS in known installation directories"错误
- Cocos2dx 模拟器运行出现错误:cannot find GLES2.0
- 在ubuntu 14.04系统中安装cuda-7.5时编译samples文件,出现cannot find lnvcuvid 错误
- vs中运行时出现link错误 cannot open file******
- MATLAB中运行MuPAD出现“cannot start engine”错误,解决方法
- CentOS make错误cannot find -lmysqlclient
- 运行phpize时出现:Cannot find autoconf
- 在centos中运行java命令时出现Error: Could not find or load main class XXX问题的解决方法
- PHPIZE时出现Cannot find autoconf错误
- centos 下运行程序出现error while loading shared libraries cannot open shared object file错误
- 在使用MyEclipse时出现的一个“cannot find a socket for the debugger”错误
- linux/在软件编译时出现usr/bin/ld: cannot find -lxxx的错误
- 关于QT编译中出现cannot find -lgobject-2.0的错误
- SSM中spring运行中出现Cannot load JDBC driver class (spring的配置错误)
- centos 安装spice 错误 ld: cannot find -lcrypt
- Linux下的函数执行时间的统计方法
- 去重复记录
- Oc课堂笔记->字典NSDictionary
- Andorid开发学习---ubuntu 12.04下搭建超好用的安卓模拟器genymotion
- 第8周项目5 定期存款利息计算器
- 在centos中运行出现错误:cannot find -lbz2
- vector::erase函数的注意事项
- 使用Java解析XML文档
- 第七周项目2电阻并联
- 如何让win32 Application显示输入框
- JAVA程序设计(04.3)-----1.寻找完美数 10000以内 2.编程找出谁是小偷 3.21根火柴……
- Spring之AOP
- 如何修改android 不能运行 java Application
- Oc课堂笔记->字符串NSString