[R] error when installing Matrix

Dirk Eddelbuettel edd at debian.org
Mon Jun 20 05:18:19 CEST 2005


On 20 June 2005 at 10:07, ronggui wrote:
| OS:debian linux
| # R CMD INSTALL /home/ronggui/Matrix_0.96-3.tar.gz 
| 
| .........
| s-3  -L/usr/lib/R/lib -lR
| /usr/bin/ld: cannot find -lblas-3
| collect2: ld returned 1 exit status
| make: *** [Matrix.so] Error 1
| ERROR: compilation failed for package 'Matrix'
| ** Removing '/usr/local/lib/R/site-library/Matrix'
| ** Restoring previous '/usr/local/lib/R/site-library/Matrix'
| 
| what have i missed?thank you!

$ apt-get install r-base-dev

r-base-dev is an 'almost virtual' package with depends that will be satisfied
by either the refblas or any of the atlas-* (cpu-specific) optimised
libraries.  You are lacking these.

Hope this helps, Dirk

-- 
Statistics: The (futile) attempt to offer certainty about uncertainty.
         -- Roger Koenker, 'Dictionary of Received Ideas of Statistics'




More information about the R-help mailing list