[Rd] unable to load lapack.so

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Sep 28 19:05:22 CEST 2006


On Thu, 28 Sep 2006, Hiroyuki Kawakatsu wrote:

> Hi,
>
> I'm having problems using ACML with R. I made two changes in
> config.site by setting
> LDFLAGS="-L/opt/acml3.1.0/gnu64/lib"
> BLAS_LIBS="-lacml"

That's not how the R-admin manual describes how to do this.  Please try 
the way it does describe (and please try 2.4.0 RC rather than an old 
patched version of 2.3.1).

I am a bit puzzled: currently ACML is only available for Linux, Solaris 
and Windows, so where did you find a FreeBSD version?

> ./config and make go through but when I try to use the lm() function,
> I get the error message
>
> Error in chol2inv(Qr$qr[p1, p1, drop = FALSE]) :
>        lapack routines cannot be loaded
> In addition: Warning message:
> unable to load shared library '/usr/local/R-patched/modules//lapack.so':
>  Shared object "libRlapack.so" not found, required by "lapack.so"
>
> What am I missing?

Apparently libRlapack.so.  Is it there (in R_HOME/lib)?

>> version
>               _
> platform       x86_64-unknown-freebsd6.1
> arch           x86_64
> os             freebsd6.1
> system         x86_64, freebsd6.1
> status         Patched
> major          2
> minor          3.1
> year           2006
> month          06
> day            01
> svn rev        38258
> language       R
> version.string Version 2.3.1 Patched (2006-06-01 r38258)
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-devel mailing list