Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13334

Findzstd.cmake doesnt find zstd on Ubuntu 20.04

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0.1
    • None
    • C++
    • None
    • Ubuntu 20.04.2

    Description

      I'm unable to use the pre-built c++ arrow libraries with a project using a CMakeList.txt containing

      find_package(Arrow REQUIRED)
      

      Giving the following error

      CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
      Could NOT find zstd (missing: ZSTD_LIB)
      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/Findzstd.cmake:82 (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:96 (find_dependency)
      CMakeLists.txt:12 (find_package)
      

      libzstd and libstd-dev are both installed

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            horto Nick Hortovanyi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: