小编jki*_*sis的帖子

找不到 ZLIB(缺少:ZLIB_LIBRARY)(找到版本“1.2.11”)

我试图安装该工具shmutzi在Ubuntu 18.04.2。我已经从 git 克隆它,安装了所有依赖项(除了 zlib,apt install 没有找到,我知道它包含在 zlib1g-dev 中)。

当我尝试使用make该工具时,我得到了这个:

$ make
make -C src/
make[1]: Entering directory '/home/nextgen/src/schmutzi/src'
cd ../lib/bamtools// && mkdir -p build/  && cd build/ && cmake .. && make && cd ../../../src/
-- Checking for one of the modules 'jsoncpp>=1'
Did NOT find system JsonCpp, instead using bundled version
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.11")
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.10/Modules/FindZLIB.cmake:112 …
Run Code Online (Sandbox Code Playgroud)

zlib ubuntu-18.04

5
推荐指数
1
解决办法
5223
查看次数

标签 统计

ubuntu-18.04 ×1

zlib ×1