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

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

I replaced /usr/local/lib/cmake/arrow/Findzstd.cmake with the Facebook Folly 
version.

 
{code:java}
CMake Error at CMakeLists.txt:19 (find_package):                                
                                                                               
Found package configuration file:                                               
                                                                                
                                                                                
                                                                            
/usr/local/lib/cmake/arrow/ArrowConfig.cmake                                    
                                                                                
                                                                                
                                                                        but it 
set Arrow_FOUND to FALSE so package "Arrow" is considered to be NOT             
                                                                      
FOUND.  Reason given by package:                                                
                                                                                
                                                                                
                                                                          Arrow 
could not be found because dependency zstd could not be found.  {code}
 

> 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