You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2021/09/30 23:57:00 UTC

[jira] [Commented] (ARROW-14188) link error on ubuntu

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

Kouhei Sutou commented on ARROW-14188:
--------------------------------------

Could you show the error message?

> 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
>
> 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)