You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2019/09/18 11:21:00 UTC

[jira] [Updated] (ARROW-5932) [C++] undefined reference to `__cxa_init_primary_exception@CXXABI_1.3.11'

     [ https://issues.apache.org/jira/browse/ARROW-5932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Pitrou updated ARROW-5932:
----------------------------------
    Priority: Major  (was: Critical)

> [C++] undefined reference to `__cxa_init_primary_exception@CXXABI_1.3.11'
> -------------------------------------------------------------------------
>
>                 Key: ARROW-5932
>                 URL: https://issues.apache.org/jira/browse/ARROW-5932
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 0.14.0
>         Environment: Linux Mint 19.1 Tessa
> g++-6
>            Reporter: Cong Ding
>            Priority: Major
>
> I was installing Apache Arrow in my Linux Mint 19.1 Tessa server. I followed the instructions on the official arrow website (using the ubuntu 18.04 method). However, when I was trying to compile the examples, the g++ compiler threw out some errors.
> I have updated my g++ to g++-6, update my libstdc++ library, and using flag -lstdc++, but it still didn't work.
>  
> {code:java}
> //代码占位符
> g++-6 -std=c++11 -larrow -lparquet main.cpp -lstdc++ 
> {code}
> The error message:
> /usr/lib/x86_64-linux-gnu/libarrow.so: undefined reference to `__cxa_init_primary_exception@CXXABI_1.3.11'
> /usr/lib/x86_64-linux-gnu/libarrow.so: undefined reference to `std::__exception_ptr::exception_ptr::exception_ptr(void*)@CXXABI_1.3.11'
> collect2: error: ld returned 1 exit status.
>  
> I do not know what to do this moment. Can anyone help me?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)