[R-SIG-Mac] Fortran on MacOS Sierra

Ken Beath ken at kjbeath.com.au
Fri Sep 30 10:31:05 CEST 2016


I tried to build frailtypack from source using R 3.3.1 and it failed with the following message (after a ridiculous amount of warnings)

gfortran-4.8 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o frailtypack.so Adonnees.o AparamMultive.o Aparameters.o aGhermite.o aaOptim.o aaOptimres.o aaUseFunction.o aaUseFunctionG.o aamarq98o.o additive.o afuncpasres.o ahrmsym.o aresidusMartingale.o atestWald.o distance.o epoce.o epoce_log.o epoce_long.o frailtypack.o funcpaG_tps.o funcpaGcpm.o funcpaGcpm_intcens.o funcpaGcpm_log.o funcpaGsplines.o funcpaGsplines_intcens.o funcpaGsplines_log.o funcpaGweib.o funcpaGweib_intcens.o funcpaGweib_log.o funcpaMultivCpm.o funcpaMultivSplines.o funcpaMultivWeib.o funcpaacpm.o funcpaasplines.o funcpaaweib.o funcpaj_tps.o funcpajcpm.o funcpajcpm_log.o funcpajgeneral.o funcpajlongisplines.o funcpajlongiweib.o funcpajsplines.o funcpajsplines_fam.o funcpajsplines_intcens.o funcpajsplines_log.o funcpajweib.o funcpajweib_fam.o funcpajweib_intcens.o funcpajweib_log.o f... <truncated>
gfortran-4.8: warning: couldn’t understand kern.osversion ‘16.0.0
ld: library not found for -ldylib1.o
collect2: error: ld returned 1 exit status
make: *** [frailtypack.so] Error 1
ERROR: compilation failed for package ‘frailtypack’

I was going to attempt the build with gfortran 4.2 but haven’t been able to revert back from 4.8

So does it happen with 4.2 and if not, how can I revert back?

If not is this an R problem or the package?



More information about the R-SIG-Mac mailing list