Hello,

On Mon, 20 Sep 2021 20:04:19 +0100
Arthur Andres <[email protected]> wrote:
> 
> Here's how far I got to far:
> 1. If my C++ code only tries to call `arrow::py::import_pyarrow()`, it
> works (and returns 0)
> 2. If my C++ code tries to do anything else with arrow (like creating a
> schema), I get this error:
> ```
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: /home/arthur/source/pyarrowbind/build/
> bindings.cpython-38-x86_64-linux-gnu.so: undefined symbol:
> _ZNK5arrow6Schema8ToStringB5cxx11Eb
> ```

You may have a solution here:
https://arrow.apache.org/docs/python/extending.html#toolchain-compatibility-linux

Can you try to pass -D_GLIBCXX_USE_CXX11_ABI=0 when compiling your
library?

Regards

Antoine.


Reply via email to