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

Wes McKinney commented on ARROW-5932:
-------------------------------------

This usually suggests you have multiple libstdc++ versions on your system and 
there is a conflict. If you can provide more details about your build 
environment we can try to help you. We have Dockerfiles that use 18.04 to build 
the project and there seems to be no issue there, so it is likely a problem 
with your environment

> [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: Critical
>
> 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.2#803003)

Reply via email to