配置:错误:“找不到 zlib libaray。”在重击中

配置:错误:“找不到 zlib libaray。”在重击中

我正在尝试在我的 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或类似的。或者您可能尝试构建错误的架构。

相关内容