You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Amir Ghamarian (Jira)" <ji...@apache.org> on 2021/09/30 22:22:00 UTC
[jira] [Created] (ARROW-14188) link error on ubuntu
Amir Ghamarian created ARROW-14188:
--------------------------------------
Summary: link error on ubuntu
Key: ARROW-14188
URL: https://issues.apache.org/jira/browse/ARROW-14188
Project: Apache Arrow
Issue Type: Bug
Components: C++
Affects Versions: 5.0.0, 4.0.0
Environment: Ubuntu 18.04, gcc-9, and vcpkg installation of arrow
Reporter: Amir Ghamarian
I used vcpkg to install arrow versions 4 and 5, trying to build my code that uses parquet fails by giving link errors of undefined reference.
The same code works on OSX but fails on ubuntu.
My cmake snippet is as follows:
```
find_package(Arrow CONFIG REQUIRED)
get_filename_component(MY_SEARCH_DIR ${Arrow_CONFIG} DIRECTORY)
find_package(Parquet CONFIG REQUIRED PATHS ${MY_SEARCH_DIR})
find_package(Thrift CONFIG REQUIRED)
```
and the linking:
```
target_link_libraries(vision_obj
PUBLIC
....
thrift::thrift
re2::re2 arrow_static parquet_static
)```
--
This message was sent by Atlassian Jira
(v8.3.4#803005)