Hello Will,

How about setting the DYLD_LIBRARY_PATH?

On Sat, Feb 19, 2022 at 12:18 AM Will Jones <[email protected]> wrote:

> Is there a recommended way to handle RPATH and brew on MacOS? When trying
> to link to libparquet it fails with:
>
> dyld[15311]: Library not loaded: @rpath/libparquet.700.dylib
>   Referenced from:
> /opt/homebrew/Cellar/apache-arrow/7.0.0_1/lib/libarrow_dataset.700.0.0.dylib
>   Reason: tried: '/usr/local/lib/libparquet.700.dylib' (no such file),
> '/usr/lib/libparquet.700.dylib' (no such file)Library not loaded:
> @rpath/libarrow.700.dylib
>
> Unless I pass in -rpath,/opt/homebrew/opt/apache-arrow/lib/. Is that
> expected? Or should I be adding that permanently to my rpath somehow? Or
> should these libraries be symlinked to an existing directory on my rpath?
>
> Thanks,
>
> Will Jones
>
-- 
Vibhatha Abeykoon

Reply via email to