Rlibeemd icon indicating copy to clipboard operation
Rlibeemd copied to clipboard

Rlibeemd does not install, MacOS Catalina, R 4.0.0

Open chuckcoleman opened this issue 5 years ago • 2 comments

Here's the command and the following error messages. I know the formatting is a little goofy: R colored its responses red.

clang++ -mmacosx-version-min=10.13 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -Wl,-rpath,/Library/Frameworks/R.framework/Resources/lib /Library/Frameworks/R.framework/Resources/lib/libc++abi.1.dylib -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o Rlibeemd.so RcppExports.o bemd.o bemdR.o ceemdan.o ceemdanR.o eemdR.o eemd_routine.o emd.o emd_num_imfsR.o error.o extrema.o extremaR.o gslErrorHandlerOff.o printError.o spline.o version.o workspace.o -L/usr/local/lib -lgsl -lgslcblas -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation

clang-7: error: no such file or directory: '/Library/Frameworks/R.framework/Resources/lib/libc++abi.1.dylib'
make: *** [Rlibeemd.so] Error 1
ERROR: compilation failed for package ‘Rlibeemd’
* removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rlibeemd’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rlibeemd’
Error: Failed to install 'Rlibeemd' from GitHub:
  (converted from warning) installation of package ‘/var/folders/j1/f2wn1_k51dl2_wgn8m0b5m_00000gn/T//Rtmplmblob/filed2d4c395e77/Rlibeemd_1.4.1.tar.gz’ had non-zero exit status

chuckcoleman avatar May 01 '20 14:05 chuckcoleman

This appears to have a solution: https://discourse.mc-stan.org/t/dealing-with-catalina-ii/11802/42

chuckcoleman avatar May 01 '20 15:05 chuckcoleman

No problems with 1.4.2 on Catalina: https://ports.macports.org/port/R-Rlibeemd/details

barracuda156 avatar Sep 06 '23 12:09 barracuda156