[R-sig-Debian] lapack routines cannot be loaded

G See gsee000 at gmail.com
Mon Oct 29 14:46:33 CET 2012


[cc'ing list]

Gong,

I had liblapack3gf, liblapack-dev, and revolution-mkl installed

I uninstalled revolution-mkl, and all works well.

Thank you,
Garrett

On Mon, Oct 29, 2012 at 8:26 AM, Gong-Yi Liao <gongyi.liao at gmail.com> wrote:
> Is the liblapack3gf installed or you have installed some third-party
> optimized library like MKL?
>
> You may re-install some LAPACK related packages and re-run your code again,
> that may be helpful for us to find the cause of this problem.
>
> Gong.
>
>
>
> On 10/29/2012 08:45 AM, G See wrote:
>>
>> I installed R in (what I believe is) the standard way by adding the
>> following line to /etc/apt/sources.list
>>
>>      deb http://cran.us.r-project.org/bin/linux/ubuntu precise/
>>
>> All was well, until I recently upgraded from 2.15.1 to 2.15.2 by running
>>
>>      sudo apt-get update
>>      sudo apt-get upgrade
>>
>> Now, when I try to do simple things, I get an error. e.g.
>>
>>      R> PP.test(rnorm(1000))
>>      Error in chol2inv(Qr$qr[p1, p1, drop = FALSE]) :
>>        lapack routines cannot be loaded
>>      In addition: Warning message:
>>      In chol2inv(Qr$qr[p1, p1, drop = FALSE]) :
>>        unable to load shared object '/usr/lib/R/modules//lapack.so':
>>        /usr/lib/R/modules//lapack.so: undefined symbol: dpstrf_
>>
>> I'm pretty sure I've never tried to build R from sources on this box.
>> Does anyone have any advice for how I can remedy this error?
>>
>> Thanks,
>> Garrett
>>
>> P.S.
>> R> sessionInfo()
>> R version 2.15.2 (2012-10-26)
>> Platform: x86_64-pc-linux-gnu (64-bit)
>>
>> locale:
>>   [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
>>   [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
>>   [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
>>   [7] LC_PAPER=C                 LC_NAME=C
>>   [9] LC_ADDRESS=C               LC_TELEPHONE=C
>> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>>
>> attached base packages:
>> [1] stats     graphics  grDevices utils     datasets  methods   base
>>
>> R> unlist(R.Version())
>>                         platform                            arch
>>            "x86_64-pc-linux-gnu"                        "x86_64"
>>                               os                          system
>>                      "linux-gnu"             "x86_64, linux-gnu"
>>                           status                           major
>>                               ""                             "2"
>>                            minor                            year
>>                           "15.2"                          "2012"
>>                            month                             day
>>                             "10"                            "26"
>>                          svn rev                        language
>>                          "61015"                             "R"
>>                   version.string                        nickname
>> "R version 2.15.2 (2012-10-26)"                "Trick or Treat"
>>
>> _______________________________________________
>> R-SIG-Debian mailing list
>> R-SIG-Debian at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-debian
>
>



More information about the R-SIG-Debian mailing list