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

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

Cong Ding created ARROW-5932:
--------------------------------

             Summary: 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


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
(v7.6.14#76016)