![配置:错误:“找不到 zlib libaray。”在重击中](https://linux22.com/image/81865/%E9%85%8D%E7%BD%AE%EF%BC%9A%E9%94%99%E8%AF%AF%EF%BC%9A%E2%80%9C%E6%89%BE%E4%B8%8D%E5%88%B0%20zlib%20libaray%E3%80%82%E2%80%9D%E5%9C%A8%E9%87%8D%E5%87%BB%E4%B8%AD.png)
我正在尝试在我的 Linux 系统上安装程序“bfast”,但出现以下错误:
操作系统= CentOS
软件包 libdv-devel-1.0.0-17.el7.x86_64 已安装并且是最新版本
软件包 glibc-devel-2.17-106.el7_2.1.i686 已安装并且是最新版本
早餐:
http://sourceforge.net/projects/bfast/files/latest/download
sh autogen.sh
。/配置
**fatal: Not a git repository (or any of the parent directories): .git**
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
**checking for special C compiler options needed for large files... no**
**checking for _FILE_OFFSET_BITS value needed for large files... no**
checking for an ANSI C-conforming const... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for stdlib.h... (cached) yes
**checking for GNU libc compatible realloc... no
checking for pow in -lm... no
checking for gzread in -lz... no
configure: error: "could not find the zlib libaray."**
不过,我已经为此安装了必备包。
whereis zlib
**zlib: /usr/include/zlib.h** /usr/share/man/man3/zlib.3.g
whereis bzip2
**bzip2: /usr/bin/bzip2** /usr/share/man/man1/bzip2.1.gz
答案1
您需要安装开发包,通常称为foo-devel
或类似的。或者您可能尝试构建错误的架构。