[R] library(kernlab) --- unable to load shared library
Phil Spector
spector at stat.berkeley.edu
Tue Nov 9 18:32:55 CET 2010
Yuliya -
The error message doesn't say that the file doesn't exist --
it says that it contains a symbol which can't be resolved,
in this case dgemv_ . A quick google search shows that this
is part of the BLAS library. So my guess is that you have
installed the BLAS library in some non-standard location.
You didn't mention what Linux distribution you're using, or
whether you built R and the kernlab library from source or
not, so it's hard to give specific guidance to solve your
problem.
- Phil Spector
Statistical Computing Facility
Department of Statistics
UC Berkeley
spector at stat.berkeley.edu
On Tue, 9 Nov 2010, Yuliya Matveyeva wrote:
> Dear R users,
> I have recently encountered a problem with using the function `library` in
> order to load the package `kernlab`.
>
> My output of sessionInfo() is as follows:
> R version 2.10.1 (2009-12-14)
> x86_64-unknown-linux-gnu
>
> locale:
> [1] C
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> I have installed the package by install.packages("kernlab"), and it had
> ended up
> in giving a message about the package being installed successfully.
>
> But as soon as I type library(kernlab) the output is:
>
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
> unable to load shared library
> '/usr/local/sage/local/lib/R//library/kernlab/libs/kernlab.so':
> /usr/local/sage/local/lib/R//library/kernlab/libs/kernlab.so: undefined
> symbol: dgemv_
> Error: package/namespace load failed for 'kernlab'
>
> The call to .libPaths() lists '/usr/local/sage/local/lib/R//library' and one
> more path.
>
> I have manually checked if the package is in the directory
> /usr/local/sage/local/lib/R//library
> => it is there... (at least there is a folder with the name `kernlab`)
>
> Could you please make any suggestions concerning the causes and/or solution
> of this problem ?
> Any help would be greatly appreciated.
>
> Sincerely yours,
> Yuliya Matveyeva.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>
More information about the R-help
mailing list