Skip to content
Prev 12375 / 15075 Next

Problems with runtime linking of R-extension

Try adding '/usr/local/lib' to DYLD_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH. If that doesn't fix the problem, try modifying the install name of libaf to include /usr/local/lib. Something like:

sudo install_name_tool -id /usr/local/lib/libaf.dylib /usr/local/lib/libaf.dylib

or

sudo install_name_tool -id /usr/local/lib/libaf.3.dylib /usr/local/lib/libaf.3.dylib

This has fixed runtime path issues for me in the past.

Keith