[ 
https://issues.apache.org/jira/browse/ARROW-13334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17381062#comment-17381062
 ] 

Nick Hortovanyi commented on ARROW-13334:
-----------------------------------------

The arrow version doesn’t work. It’s overly complex.

The Facebook folly version works. And I assume as well on most platforms 

I don’t understand how Findarrow.cmake interacts with Findzstd.cmake. I don’t 
have the time to work that out.

My work around, is just that, a work around. I didn’t need to do it a few 
months ago. 

Basically when I built it I enabled plasma, compute, flight, parquet, cuda and 
Python. I did not enable hive, Hadoop, gandiva.

When I tried it with prebuilt packages, I installed all libraries.

As you’ve confirmed there is nothing wrong with how zstd is installed. 



> Findzstd.cmake doesnt find zstd on Ubuntu 20.04
> -----------------------------------------------
>
>                 Key: ARROW-13334
>                 URL: https://issues.apache.org/jira/browse/ARROW-13334
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 4.0.1
>         Environment: Ubuntu 20.04.2
>            Reporter: Nick Hortovanyi
>            Priority: Minor
>
> I'm unable to use the pre-built c++ arrow libraries with a project using a 
> CMakeList.txt containing
> {noformat}
> find_package(Arrow REQUIRED)
> {noformat}
> Giving the following error
> {noformat}
> 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)
> {noformat}
> libzstd and libstd-dev are both installed
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to