On 22 February 2014 at 01:12, Abdulaziz A Alenazi wrote:
| 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?

By installing the required Fortran compiler you need so that you can link
with the gfortran library.  See the standard R documentation about how to get
the GNU Fortran compiler for OS X; as I recall it is on Simon's R page at AT&T.

Dirk

-- 
Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to