Issues upgrading the secrdesign package

15 views
Skip to first unread message

Greg Distiller

unread,
Mar 11, 2026, 12:57:58 PM (10 days ago) Mar 11
to secr
Hi Murray
Sorry to trouble you with this sort of thing, I'm trying to update my secrdesign package and am getting an error. I first updated secr so know that is up to date, and I have checked that my version of R >3.5 (I am using 4.1). 

Here is the last part of the error in case it includes any clues as to where the issue lies. Any suggestions are much appreciated:

5 warnings generated.
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -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 secrdesign.so RcppExports.o secrdesignarma.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: -single_module is obsolete
ld: warning: -multiply_defined is obsolete
ld: warning: search path '/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0' not found
ld: library 'quadmath' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [secrdesign.so] Error 1
ERROR: compilation failed for package ‘secrdesign’
* removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/secrdesign’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/secrdesign’
Warning in install.packages :
  installation of package ‘secrdesign’ had non-zero exit status

I see a reference to quadmath so I tried to install that but got a msg that it is not available for my version of R. Should I maybe update R and RStudio to the latest versions?

Thanks!

Greg

Murray Efford

unread,
Mar 11, 2026, 11:06:37 PM (10 days ago) Mar 11
to Greg Distiller, secr
Sorry - that's opaque to me, too. Updating R would seem a good step!
I do see an unexplained warning on CRAN for secr on MacOS-arm64, so there may be more going on, but I have just re-installed from CRAN on a Mac myself without trouble (R4.5.2).
Cheers
Murray

--
You received this message because you are subscribed to the Google Groups "secr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to secrgroup+...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/secrgroup/CA%2B8KW%3Ddz8T4tuRaS-Mabf_DVHYVu9hTs4q6fFbzDPU9twVdVoA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages