[
https://issues.apache.org/jira/browse/ARROW-14188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17423722#comment-17423722
]
Kouhei Sutou commented on ARROW-14188:
--------------------------------------
[~ianmcook] Could you confirm this vcpkg related problem? It seems that
{{libarrow_bundled_dependencies.a}} isn't linked automatically.
> 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: 4.0.0, 5.0.0
> Environment: Ubuntu 18.04, gcc-9, and vcpkg installation of arrow
> Reporter: Amir Ghamarian
> Priority: Major
> Attachments: completerr.txt, linkerror.txt
>
>
> 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:
>
> {code:java}
> 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)
> {code}
> and the linking:
>
> {code:java}
> target_link_libraries(vision_obj PUBLIC .... thrift::thrift re2::re2
> arrow_static parquet_static )
> {code}
>
> I get a lot of errors
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)