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

ASF GitHub Bot commented on ARROW-2197:
---------------------------------------

wesm closed pull request #1644: ARROW-2197: Document C++ ABI issue and 
workaround
URL: https://github.com/apache/arrow/pull/1644
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/python/doc/source/development.rst 
b/python/doc/source/development.rst
index af93d8d1a..e4078bdaf 100644
--- a/python/doc/source/development.rst
+++ b/python/doc/source/development.rst
@@ -246,6 +246,22 @@ To build a self-contained wheel (include Arrow C++ and 
Parquet C++), one can set
 Again, if you did not build parquet-cpp, you should omit ``--with-parquet`` and
 if you did not build with plasma, you should omit ``--with-plasma``.
 
+Known issues
+------------
+
+If using packages provided by conda-forge (see "Using Conda" above)
+together with a reasonably recent compiler, you may get "undefined symbol"
+errors when importing pyarrow.  In that case you'll need to force the C++
+ABI version to the older version used by conda-forge binaries:
+
+.. code-block:: shell
+
+   export CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0"
+   export PYARROW_CXXFLAGS=$CXXFLAGS
+
+Be sure to add ``-DCMAKE_CXX_FLAGS=$CXXFLAGS`` to the cmake invocations
+when rebuilding.
+
 Developing on Windows
 =====================
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Document "undefined symbol" issue and workaround
> ------------------------------------------------
>
>                 Key: ARROW-2197
>                 URL: https://issues.apache.org/jira/browse/ARROW-2197
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: Documentation
>    Affects Versions: 0.8.0
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 0.9.0
>
>
> See [https://github.com/apache/arrow/issues/1612]



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

Reply via email to