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

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

The Apache Arrow cmake files dont work with .pc files

pkg-config is installed
 
❯ dpkg -s pkg-config
Package: pkg-config
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 190
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Multi-Arch: foreign
Version: 0.29.1-0ubuntu4
Replaces: pkg-config-bin
Depends: libc6 (>= 2.14), libglib2.0-0 (>= 2.16.0), libdpkg-perl
Suggests: dpkg-dev
Conflicts: pkg-config-bin
Conffiles:
/etc/dpkg/dpkg.cfg.d/pkg-config-hook-config 467c877de00898418a9b26d432a1719a
Description: manage compile and link flags for libraries
pkg-config is a system for managing library compile and link flags that
works with automake and autoconf.
.
Increasingly libraries ship with ".pc" files that allow querying of the
compiler and linker flags needed to use them through the pkg-config(1)
program.
Original-Maintainer: Tollef Fog Heen <[email protected]>
Homepage: http://pkg-config.freedesktop.org
 

> 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