Hi, I'm working on beam which is currently not supporting the latest
release of Arrow (6.x.) and I'm trying to build the required packages on
Apple M1.
Currently when building the python package `pyarrow` like this:
```
python setup.py build_ext --build-type=release --bundle-arrow-cpp
--bundle-arrow-cpp-headers --bundle-cython-cpp --cython-cplus
--bundle-boost --with-static-boost --extra-cmake-args=boost-python3
--boost-namespace=boost-python3 bdist_wheel
```
I've got a package but when I'm installing it and trying on real use case
which simply import pyarrow I've got the following error:
```
import pyarrow.lib as _lib
E ImportError:
dlopen(/Users/mlhamel/src/github/metrio/jupyter/metrics-sdk/.venv/lib/python3.8/site-packages/pyarrow/
lib.cpython-38-darwin.so, 2): Symbol not found: __Py_FatalErrorFunc
E Referenced from:
/Users/mlhamel/src/github/metrio/jupyter/metrics-sdk/.venv/lib/python3.8/site-packages/pyarrow/libarrow_python.400.dylib
E Expected in: flat namespace
E in
/Users/mlhamel/src/github/metrio/jupyter/metrics-sdk/.venv/lib/python3.8/site-packages/pyarrow/libarrow_python.400.dylib
```
I tried embedding statically both parquet and boost python but it's still
faling.
Any idea where i can explore?