[R-SIG-Mac] library 'quadmath' not found

Prof Brian Ripley r|p|ey @end|ng |rom @t@t@@ox@@c@uk
Thu May 23 18:03:04 CEST 2024


On 23/05/2024 16:00, Petar Milin wrote:
> I have recently updated my R (4.4.0) and all the packages running on Sonoma (14.5) with Intel. When I try to install from GitHub with:
> 
> install_github("zdk123/SpiecEasi")
> 
> I get the error message:
> 
> ld: warning: search path '/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/12.2.0' not found
> ld: warning: search path '/opt/gfortran/lib' not found
                ^^^^ is the important message.

> ld: library 'quadmath' not found
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [SpiecEasi.so] Error 1
> ERROR: compilation failed for package ‘SpiecEasi’
> 
> I did
> 
> xcode-select –install
> 
> but that was done already.
> 
> I also installed
> 
> gfortran-4.2.3.pkg
> 
> but that did not help either.

Please remove it via pkgutils: it is way too old.

> Can anyone advise, please?

Please read the R-admin manual.  To install a package using Fortran from 
sources you need to install 
https://mac.r-project.org/tools/gfortran-12.2-universal.pkg, also 
indicated via the tools page linked from 
https://cran.r-project.org/bin/macosx/


-- 
Brian D. Ripley,                  ripley using stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford



More information about the R-SIG-Mac mailing list