Re: [R-SIG-Mac] Problems with runtime linking of R-extension

2018-02-23 Thread Ralf Stubner
> Am 23.02.2018 um 11:14 schrieb Keith O'Hara : > > Try adding '/usr/local/lib' to DYLD_LIBRARY_PATH and > DYLD_FALLBACK_LIBRARY_PATH. Unfortunately setting these variables (or LD_LIBRARY_PATH) to /usr/local/lib does not help with the error message. > If that doesn't

Re: [R-SIG-Mac] Problems with runtime linking of R-extension

2018-02-23 Thread Keith O'Hara
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

[R-SIG-Mac] Problems with runtime linking of R-extension

2018-02-23 Thread Ralf Stubner
Hi all, I am trying to port RcppArrayFire (https://github.com/RInstitute/rcpparrayfire) to Mac OS, but I am having some troubles with resolving linked libraries. I have tried to reduce the issue as much as possible, i.e. no Rcpp and no package structure. It seems to be MacOS specific since the