peanutfun opened a new issue, #55467:
URL: https://github.com/apache/arrow/issues/55467
### Describe the bug, including details regarding any error messages,
version, and platform.
Importing pyarrow v26.0.1 on arm64 macOS results in an import error. The
libz4 library cannot be found. The error is **not** present in v25.0.1.
```shell
$ mamba create -n arr pyarrow
$ mamba run -n arr python -c "import pyarrow"
Traceback (most recent call last):
File "<string>", line 1, in <module>
import pyarrow
File
"/Users/ldr.riedel/miniforge3/envs/arr/lib/python3.15/site-packages/pyarrow/__init__.py",
line 59, in <module>
from pyarrow.lib import (BuildInfo, CppBuildInfo, RuntimeInfo,
set_timezone_db_path,
...<3 lines>...
io_thread_count, is_opentelemetry_enabled,
set_io_thread_count)
ImportError:
dlopen(/Users/ldr.riedel/miniforge3/envs/arr/lib/python3.15/site-packages/pyarrow/lib.cpython-315-darwin.so,
0x0002): Library not loaded: /opt/homebrew/opt/lz4/lib/liblz4.1.dylib
Referenced from: <0A53EA39-619E-3FD6-AAE0-1E15DBA7BD80>
/Users/ldr.riedel/miniforge3/envs/arr/lib/libarrow.2600.1.0.dylib
Reason: tried: '/opt/homebrew/opt/lz4/lib/liblz4.1.dylib' (no such file),
'/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/lz4/lib/liblz4.1.dylib'
(no such file), '/opt/homebrew/opt/lz4/lib/liblz4.1.dylib' (nosuch file),
'/usr/local/lib/liblz4.1.dylib' (no such file), '/usr/lib/liblz4.1.dylib' (no
such file, not in dyld cache)
```
### Component(s)
Python
--
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]