[R-sig-Debian] ubuntu problem with 'r-cran-robustbase' [FWD Agustin Lobo]
maechler at stat.math.ethz.ch
Tue May 12 11:45:12 CEST 2009
Agustin, posted on R-help.
I think the problem is one of the debian/ubuntu package
'r-cran-robustbase' and its setup or (missing?) dependencies.
I can confirm Agustin's problem, working on Ubuntu 8.04.2
(8.04 is a "LTS" = long time support version).
apt-get install r-cran-robustbase
works fine, but when trying to load the package,
there's a DLL - dependency on libRlapack.so
which is not fulfilled (and not fulfillable: There's *no*
$ /usr/bin/R CMD config LAPACK_LIBS
and lapack.so is found inside /usr/lib/R/modules/
and liblapack.so from the 'lapack3' Debian/Ubuntu package
is simply in /usr/lib/libpack.so
Could it be that this is caused by an Ubuntu / Debian
Thank you in advance,
Martin Maechler, ETH Zurich
------- start of forwarded message -------
From: Agustin Lobo <aloboaleu at gmail.com>
To: "r-help at r-project.org" <r-help at r-project.org>
Subject: [R] robustbase: cannot install
Date: Mon, 11 May 2009 18:20:14 +0200
This is really odd,
I've installed the binary of robustbase through synaptic on an ubuntu
8.04 machine and get:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library
libRlapack.so: cannot open shared object file: No such file or directory
Error: package/namespace load failed for 'robustbase'
The package is where it is suposed to be:
is this not a problem at compiling?
The problem is that if I try to install the source with
install.packages("robustbase"), I get:
gcc -std=gnu99 -shared -o robustbase.so R-rng4ftn.o init.o lmrob.o mc.o
qn_sn.o rf-common.o rffastmcd.o rfltsreg.o wgt_himed.o -L/usr/lib/R/lib
-lRlapack -lblas -L/usr/lib/gcc/i486-linux-gnu/4.2 -lgfortran -lm
-L/usr/lib/gcc/i486-linux-gnu/4.2 -lgfortran -lm -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lRlapack
collect2: ld returned 1 exit status
Despite the fact that I do have Rlapack:
~$ R CMD config LAPACK_LIBS
Am I doing something wrong?
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
R-help at r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
------- end of forwarded message -------
More information about the R-SIG-Debian