matteosantama opened a new issue, #14291:
URL: https://github.com/apache/arrow/issues/14291

   There's a simple change I would like to make to `pyarrow` but before I open 
a PR I want to test it locally. To do so, I need to build the library from 
source -- but I am really struggling with the compilation process. 
   
   I tried following the instructions 
[here](https://github.com/apache/arrow/blob/master/docs/source/developers/python.rst),
 but kept running into problems at multiple stages. Likely, those instructions 
there are a bit stale. So I abandoned it in favor of the automatic build script 
[here](https://github.com/apache/arrow/blob/master/python/examples/minimal_build/build_venv.sh).
 With the script, the compilation process runs to completion but when I go to 
import the library I run into problems.
   
   ```python
   >>> import pyarrow as pa
   ImportError: 
dlopen(/Users/matteosantamaria/arrow/python/pyarrow/lib.cpython-310-darwin.so, 
0x0002): Library not loaded: '@rpath/libarrow.1000.dylib'
     Referenced from: 
'/Users/matteosantamaria/arrow/python/pyarrow/lib.cpython-310-darwin.so'
     Reason: tried: 
'/Users/matteosantamaria/arrow/python/pyarrow/libarrow.1000.dylib' (no such 
file), '/Users/matteosantamaria/arrow/python/pyarrow/libarrow.1000.dylib' (no 
such file), '/usr/local/lib/libarrow.1000.dylib' (no such file), 
'/usr/lib/libarrow.1000.dylib' (no such file)
   ```
   
   Does anyone know what this error is complaining about? If it helps, I am on 
macOS M1.
   


-- 
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]

Reply via email to