[R-sig-Debian] undefined symbol: sgemv_thread_n (solved (?))

Göran Broström goran.brostrom at umu.se
Sat Dec 2 13:20:53 CET 2017


Hi,

I removed openblas:

goran at M6800:~$ sudo dpkg --purge libopenblas-dev

and

goran at M6800:~$ sudo dpkg --purge libopenblas-base

which left me with

goran at M6800:~$ dpkg -l | grep blas
pi  libblas-dev:amd64 3.7.1-3ubuntu2  amd64        Basic Linear Algebra 
Subroutines 3, static library
ii  libblas3:amd64  3.7.1-3ubuntu2 amd64        Basic Linear Algebra 
Reference implementations, shared library

And now everything just works.

Göran

On 2017-12-01 23:33, Dirk Eddelbuettel wrote:
> 
> Hi there,
> 
> On 1 December 2017 at 23:24, Göran Broström wrote:
> | Dirk,
> |
> | thanks for your help. At work I have (ubuntu 16.04):
> |
> | ii  libblas-common 3.6.0-2ubuntu2  amd64        Dependency package for
> | all BLAS implementations
> | ii  libblas-dev    3.6.0-2ubuntu2  amd64        Basic Linear Algebra
> | Subroutines 3, static library
> | ii  libblas3       3.6.0-2ubuntu2  amd64        Basic Linear Algebra
> | Reference implementations, shared library
> |
> | and everything works before and after upgrading (/usr/bin/R). However,
> | at home (ubuntu 17.10):
> |
> | goran at M6800:~$ dpkg -l | grep blas
> | ii  libblas-dev:amd64 3.7.1-3ubuntu2   amd64        Basic Linear Algebra
> | Subroutines 3, static library
> | ii  libblas3:amd64    3.7.1-3ubuntu2   amd64        Basic Linear Algebra
> | Reference implementations, shared library
> | ii  libopenblas-base:amd64  0.2.20+ds-4  amd64        Optimized BLAS
> | (linear algebra) library (shared library)
> |
> | and it worked before upgrade but not after. Seems to be missing
> | 'libblas-common'.
> 
> Maybe. Maybe not. Did you check packages.ubuntu.com (or another source) to
> see if it still exists?  Per
> https://packages.ubuntu.com/search?keywords=libblas-common it is only listed
> for xenial (16.04) and zesty (17.04), not your 17.10.
> 
> | So I try to install:
> |
> | goran at M6800:~$ sudo apt install libblas-common
> | [sudo] password for goran:
> | Reading package lists... Done
> | Building dependency tree
> | Reading state information... Done
> | E: Unable to locate package libblas-common
> |
> | So there is no such package in 17.10, but I have it in 16.04. What can
> | be the replacement? Maybe I should downgrade to R-3.4.2, which works,
> | but it doesn't feel right.
> 
> No that would not be right.
> 
> To recap: you have an issue on 17.10 only, and the R is self-built or the one
> installable as binary via CRAN?
> 
> Dirk
>



More information about the R-SIG-Debian mailing list