[Rcpp-devel] ld: library not found for -lgfortran with RcppArmadillo

Abdulaziz A Alenazi aaalenazi1 at sheffield.ac.uk
Sat Feb 22 02:12:11 CET 2014


Dear all,

I have tried to run RcppArmadillo in my mac and on my PC.
But whenever I used RcppArmadillo an error appear as below

ld: warning: directory not found for option
'-L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3/x86_64'
ld: warning: directory not found for option '-L/usr/local/lib/x86_64'
ld: warning: directory not found for option
'-L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [filebf441105e2b.so] Error 1


How can I solve this problem, please?


With regards,
Abdulaziz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20140222/e200c265/attachment.html>


More information about the Rcpp-devel mailing list