[R-SIG-Mac] compilation problem

Kenneth Knoblauch ken@knob|@uch @end|ng |rom |n@erm@|r
Mon May 9 10:27:03 CEST 2022


Hi,

When compiling packages with C/Fortran code, I'm frequently getting the
following sort of error at the stage of testing if package can be 
installed
from temporary location:

** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for 'akima' in dyn.load(file,
DLLpath = DLLpath, ...):
unable to load shared object
'/Users/ken/Library/R/x86_64/4.2/library/00LOCK-akima/00new/akima/libs/akima.so':
dlopen(/Users/ken/Library/R/x86_64/4.2/library/00LOCK-akima/00new/akima/libs/akima.so,
6): Symbol not found: ___addtf3
Referenced from: /usr/local/lib/libquadmath.0.dylib
Expected in: /usr/local/lib/libgcc_s_x86_64.1.dylib
in /usr/local/lib/libquadmath.0.dylib
Error: loading failed
Execution halted
ERROR: loading failed

Any suggestions about how to fix this?  If it is a PATH problem, how do 
I set that so that it is correct when I start up R?

Thank you.

best,

Ken

> sessionInfo()
R version 4.2.0 (2022-04-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7

Matrix products: default
BLAS:
/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRblas.0.dylib
LAPACK:
/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib


locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] compiler_4.2.0 tools_4.2.0

> Sys.getenv()
  .
  .
  .
PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
  .
  .
  .


-- 
Kenneth Knoblauch
Inserm U1208
Stem-cell and Brain Research Institute
18 avenue du Doyen Lépine
69500 Bron
France
tel: +33 (0)4 72 91 34 77
fax: +33 (0)4 72 91 34 61
portable: +33 (0)6 84 10 64 10
http://www.sbri.fr/user/1453



More information about the R-SIG-Mac mailing list