Date: Sun, 03 May 2015 22:38:47 +0300 From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: cmake build failure depending on liblzma Message-ID: <86oam1e9iw.fsf@FreeBSD.org> References: <55329F17.1010100@paz.bz> <864mnwvu1w.fsf@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Raphael Kubo da Costa <rakuco@FreeBSD.org> writes: > Jim Pazarena <fports@paz.bz> writes: > >> -- Looking for lzma_auto_decoder in /usr/local/lib/liblzma.so >> -- Looking for lzma_auto_decoder in /usr/local/lib/liblzma.so - not found >> -- Looking for lzma_easy_encoder in /usr/local/lib/liblzma.so >> -- Looking for lzma_easy_encoder in /usr/local/lib/liblzma.so - not found >> -- Looking for lzma_lzma_preset in /usr/local/lib/liblzma.so >> -- Looking for lzma_lzma_preset in /usr/local/lib/liblzma.so - not found >> -- Could NOT find LibLZMA (missing: LIBLZMA_HAS_AUTO_DECODER >> LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET) (found version >> "5.0.5") >> CMake Error at CMakeLists.txt:310 (message): >> CMAKE_USE_SYSTEM_LIBLZMA is ON but LibLZMA is not found! >> Call Stack (most recent call first): >> CMakeLists.txt:488 (CMAKE_BUILD_UTILITIES) > > It should work if you remove archivers/lzmalib, whose liblzma.so is > being picked up instead of base's liblzma.so. > > It's a workaround, I still need to think of a proper fix. Would you mind > filing a PR about this? I've committed a fix in r385307.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86oam1e9iw.fsf>