Information to compile packages
From a discussion in
I am attempting to build my package using devtools::build I have verified
that both Rcpp and RcppArmadillo are working properly.
However, when I build, I get the following error message
Error: package or namespace load failed for ‘HACSim’ in dyn.load(file,
DLLpath = DLLpath, ...):
unable to load shared object
'/private/var/folders/wv/4_z4h7ns57g7qvd600qgd__w0000gn/T/RtmpGe2Cqt/Rinst118e1e9f13a0/00LOCK-HACSim/00new/HACSim/libs/HACSim.so':
dlopen(/private/var/folders/wv/4_z4h7ns57g7qvd600qgd__w0000gn/T/RtmpGe2Cqt/Rinst118e1e9f13a0/00LOCK-HACSim/00new/HACSim/libs/HACSim.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
─ removing
‘/private/var/folders/wv/4_z4h7ns57g7qvd600qgd__w0000gn/T/RtmpGe2Cqt/Rinst118e1e9f13a0/HACSim’
-----------------------------------
ERROR: package installation failed
Error in (function (command = NULL, args = character(), error_on_status =
TRUE, :
System command 'R' failed, exit status: 1, stdout + stderr (last 10
lines):
E>
dlopen(/private/var/folders/wv/4_z4h7ns57g7qvd600qgd__w0000gn/T/RtmpGe2Cqt/Rinst118e1e9f13a0/00LOCK-HACSim/00new/HACSim/libs/HACSim.so,
6): Symbol not found: ___addtf3
E> Referenced from: /usr/local/lib/libquadmath.0.dylib
E> Expected in: /usr/local/lib/libgcc_s_x86_64.1.dylib
E> in /usr/local/lib/libquadmath.0.dylib
E> Error: loading failed
E> Execution halted
E> ERROR: loading failed
E> * removing
‘/private/var/folders/wv/4_z4h7ns57g7qvd600qgd__w0000gn/T/RtmpGe2Cqt/Rinst118e1e9f13a0/HACSim’
E> -----------------------------------
E> ERROR: package installation failed
Commentaires
Enregistrer un commentaire