package r-cran-matrix build on old lib?

Bug #299141 reported by Matifou
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rmatrix (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: r-cran-matrix

Still on Ubuntu 8.04, I updated R (2.7 to 2.8) from a third party source (deb http://cran.univ-lyon1.fr/bin/linux/ubuntu hardy/)

This implied installation of new liblapack libraries, see (in french sorry)

 sudo apt-get install r-base-dev
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés :
  libblas-dev liblapack-dev r-base-core tcl8.5 tk8.5
Paquets suggérés :
  cdbs
Les paquets suivants seront ENLEVÉS :
  refblas3-dev
Les NOUVEAUX paquets suivants seront installés :
  libblas-dev liblapack-dev tcl8.5 tk8.5
Les paquets suivants seront mis à jour :
  r-base-core r-base-dev

But with the newly installed R version 2.8 I couldn't run some libraries (Matrix and minpack.lm) neither installaing internally (sudo R | install.packages("Matrix") ) nor from sudo apt-get install r-cran-matrix

Both installation ways give error message:
library(Matrix)
| > Loading required package: lattice
| > Error in dyn.load(file, DLLpath = DLLpath, ...) :
| > unable to load shared library '/usr/lib/R/site-library/Matrix/libs/Matrix.so':
| > libRlapack.so: cannot open shared object file: No such file or directory

The only way which was functionning was to download the sources and compile with sudo R CMD INSTALL , had no error message anymore.

Revision history for this message
Niall Bolger (ardollam) wrote :

I'm having the same problem. The
latest version of R cannot load the Matrix package, even though it is
installed and readable. I've read the archive files for this list and
tried the suggested solutions (e.g., removing/uninstalling the Matrix
package and reinstalling it). Nothing has worked so far.

Niall Bolger

Details of the error I get when I try to load the Matrix package:

> library(Matrix)
Loading required package: lattice
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared library
'/usr/lib/R/site-library/Matrix/libs/Matrix.so':
  libRlapack.so: cannot open shared object file: No such file or
directory
Error: package/namespace load failed for 'Matrix'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.