adsharma opened a new issue, #50648: URL: https://github.com/apache/arrow/issues/50648
### Describe the bug, including details regarding any error messages, version, and platform. A C++ open source library (icebug) provides python bindings. It needs to link to both C++ libarrow2500 and pyarrow. This was possible in the 23.x and 24.x releases and failing with 25.x as follows: ``` arrow::internal::tracing::UnwrapSpan(arrow::util::tracing::SpanDetails*) ``` is used by `.venv/lib/python3.12/site-packages/pyarrow/libarrow_acero.so.2500`, so we get a failure at "import pyarrow" time. Looking for suggestions on how to resolve. Repro: ``` uv venv --python 3.12 uv pip install pyarrow sudo apt-get install -y libarrow-dev=25.0.0-1 # from the apache arrow ubuntu 24.04 repo nm -D /usr/lib/x86_64-linux-gnu/libarrow.so.2500.0.0 | grep UnwrapSpan # not present nm -D .venv/lib/python3.12/site-packages/pyarrow/libarrow.so.2500 | grep UnwrapSpan # present ``` ``` import mylib # links to /usr/lib/x86_64-linux-gnu/libarrow.so.2500.0.0 import pyarrow # fails with undefined UnwrapSpan ``` This is working ok on windows/macosx. Fails only on linux. https://github.com/Ladybug-Memory/icebug/pull/56 ### Component(s) C++ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
