You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/08/20 18:07:00 UTC

[jira] [Commented] (ARROW-3093) [C++] Linking errors with ORC enabled

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

Wes McKinney commented on ARROW-3093:
-------------------------------------

I believe this can be fixed by changing the order of the linked libraries in 

https://github.com/apache/arrow/blob/master/cpp/CMakeLists.txt#L618

I had run into some other issues about the protobuf symbols so I might have introduced this bug, though unclear why it isn't showing up elsewhere

> [C++] Linking errors with ORC enabled
> -------------------------------------
>
>                 Key: ARROW-3093
>                 URL: https://issues.apache.org/jira/browse/ARROW-3093
>             Project: Apache Arrow
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Antoine Pitrou
>            Priority: Major
>
> In an attempt to work around ARROW-3091 and ARROW-3092, I've recreated my conda environment, and now I get linking errors if ORC support is enabled:
> {code}
> debug/libarrow.so.11.0.0: error: undefined reference to 'google::protobuf::MessageLite::ParseFromString(std::string const&)'
> debug/libarrow.so.11.0.0: error: undefined reference to 'google::protobuf::MessageLite::SerializeToString(std::string*) const'
> debug/libarrow.so.11.0.0: error: undefined reference to 'google::protobuf::internal::fixed_address_empty_string'
> [etc.]
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)