Ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0'Ĭlang-7: error: linker command failed with exit code 1 (use -v to see invocation)ĮRROR: compilation failed for package ‘quantreg’ framework R -Wl,-framework -Wl,CoreFoundation Warning: Unused dummy argument ‘sp’ at (1) Ĭlang -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 quantreg.so akj.o boot.o bound.o boundc.o brute.o chlfct.o cholesky.o combos.o crqf.o crqfnb.o dsel05.o etime.o extract.o frand.o grexp.o idmin.o iswap.o kuantile.o kuantiles.o linpack.o mcmb.o penalty.o pfnb.o powell.o profnb.o pwxy.o qfnb.o qselect.o quantreg_init.o rls.o rq0.o rq1.o rqbr.o rqfn.o rqfnb.o rqfnc.o rqs.o sakj.o sparskit2.o srqfn.o srqfnc.o srtpai.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-darwin15/6.1.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.
Install gcc for mac install#
I get a TON of warnings when trying to install afex, but perhaps the most relevant errors are: this was giving errors like "ld: library not found for -lgfortran"īut then installing afex still gave a similar error "ld: library not found for -lm" (3) Installing afex package in R with install.packages('afex') (1) setting LD_LIBRARY_PATH = /usr/local/lib in my.
![install gcc for mac install gcc for mac](https://www.cs.auckland.ac.nz/~paul/C/Mac/002_terminal.png)
Among some other issues with installation that I am stuck at. I cannot get the afex R package to install.