Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
Description
Adding Arrow targets to a CMake project using the installed config files no longer works with version 2.0.0.
find_package(Arrow 2.0 CONFIG REQUIRED)
I get the following error:
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find Snappy (missing: Snappy_LIB Snappy_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE) /usr/lib/x86_64-linux-gnu/cmake/arrow/FindSnappy.cmake:50 (find_package_handle_standard_args) /usr/share/cmake-3.16/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /usr/lib/x86_64-linux-gnu/cmake/arrow/ArrowConfig.cmake:95 (find_dependency) CMakeLists.txt:5 (find_package)
The snappy lib is installed:
find /usr -name "libsnappy*"
/usr/share/doc/libsnappy1v5
/usr/lib/x86_64-linux-gnu/libsnappy.so.1.1.8
/usr/lib/x86_64-linux-gnu/libsnappy.so.1
It's possible to reproduce the error using https://github.com/mbrobbel/arrow-cmake. Build the image to get the error.
git clone https://github.com/mbrobbel/arrow-cmake
cd arrow-cmake
docker build -t arrow-cmake .
This used to work with 1.x.
Attachments
Issue Links
- links to