Rewarp <rewarp <at> gmail.com> writes:
> I am trying to install RcppEigen, which depends on Rcpp. Here's what the
> terminal says:
> 
> > install.packages("RcppEigen")
[...]
> g++ -shared -o RcppEigen.so RcppEigen.o fastLm.o
> -L/home/rewarp/R/x86_64-pc-linux-gnu-library/3.0/Rcpp/lib -lRcpp
> -Wl,-rpath,/home/rewarp/R/x86_64-pc-linux-gnu-library/3.0/Rcpp/lib -llapack
> -lblas -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
> /usr/bin/ld: cannot find -llapack
> /usr/bin/ld: cannot find -lblas
> collect2: ld returned 1 exit status

You need to install the required libraries.  It looks like you may be
on Debian or Ubuntu so try

   $ sudo apt-get install r-base-dev

which should pull these in.

Support for Rcpp and friends is provided on the rcpp-devel list.

Dirk

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to