To install spam package in MacOSX

 To install spam package in MacOSX, I have been forced to do:

sudo ln -s /usr/local/opt/gcc/lib/gcc/current /usr/local/gfortran/lib 

to prevent an error:

ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0'

ld: warning: directory not found for option '-L/usr/local/gfortran/lib'

ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0'

ld: warning: directory not found for option '-L/usr/local/gfortran/lib'

ld: library not found for -lgfortran

clang: error: linker command failed with exit code 1 (use -v to see invocation)


Commentaires

Posts les plus consultés de ce blog

Standard error from Hessian Matrix... what can be done when problem occurs

stepAIC from package MASS with AICc

Install treemix in ubuntu 20.04