Package: cmake Version: 3.7.2-1 Severity: normal Dear Maintainer,
Cmake can't find libbz2, nor by using find_package(BZip2) nor using find_library(). The cmake module is is the one shipped with cmake-data I think. libbz2 is found at /lib/x86_64-linux-gnu/ and linking the so manually into /usr/lib/x86_64-linux-gnu/ seems to work. Look at CMakeFiles/CMakeOutput.txt,the LIBRARY_PATH variable seems to be correct LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/6/:/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/6/../../../:/lib/:/usr/lib/ I guess that something is wrong with find_library. What would be the preferred work around for this? Regards, Enrico -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages cmake depends on: ii cmake-data 3.7.2-1 ii dpkg 1.18.18 ii libarchive13 3.2.1-5 ii libc6 2.24-8 ii libcurl3 7.52.1-1 ii libexpat1 2.2.0-2 ii libgcc1 1:6.2.1-5 ii libjsoncpp1 1.7.4-3 ii libstdc++6 6.2.1-5 ii libuv1 1.9.1-3 ii procps 2:3.3.12-3 ii zlib1g 1:1.2.8.dfsg-4 Versions of packages cmake recommends: ii gcc 4:6.2.1-1 ii make 4.1-9 Versions of packages cmake suggests: pn codeblocks <none> pn eclipse <none> pn ninja-build <none> -- no debconf information