libblas.so.3 sgemv_thread_n

Asked by Raúl Zaradnik

Estimados
He instalado CAELINUX 2013 y Octave (ni FreeMat) funcionan, y al invocarlos por terminal aparece el mensaje:
En octave:
/usr/lib/x86_64-linux-gnu/octave/4.2.2/exec/x86_64-pc-linux-gnu/octave-gui: symbol lookup error: /usr/lib/x86_64-linux-gnu/libblas.so.3: undefined symbol: sgemv_thread_n

y en FreeMat:
freemat: symbol lookup error: /usr/lib/x86_64-linux-gnu/libblas.so.3: undefined symbol: sgemv_thread_n

Es decir, básicamente lo mismo.
¿Alguien sabe cómo se puede solucionar?
Gracias
Saludos

Question information

Language:
Spanish Edit question
Status:
Expired
For:
Ubuntu lapack Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes please provide the output that you receive for the commands

uname -a
lsb_release -crid
LANG=C apt-cache policy octave libatlas3-base libblas3 libopenblas-base
sudo updatedb
locate libblas.so.3

Revision history for this message
Raúl Zaradnik (raulzar) said :
#2

Mr Manfred Hampl:
Gracias por su tiempo. Ejecutado los comandos indicados los resultados son (Thanks for your time. Executed the indicated commands the results are):

uname -a
========

Linux hrzm-M61PME-S2P 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -crid
=================

Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic

LANG=C apt-cache policy octave libatlas3-base libblas3 libopenblas-base
=======================================================================

octave:
  Installed: 4.2.2-1ubuntu1
  Candidate: 4.2.2-1ubuntu1
  Version table:
 *** 4.2.2-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status
libatlas3-base:
  Installed: 3.10.3-5
  Candidate: 3.10.3-5
  Version table:
 *** 3.10.3-5 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status
libblas3:
  Installed: 3.7.1-4ubuntu1
  Candidate: 3.7.1-4ubuntu1
  Version table:
 *** 3.7.1-4ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
libopenblas-base:
  Installed: 0.2.20+ds-4
  Candidate: 0.2.20+ds-4
  Version table:
 *** 0.2.20+ds-4 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

sudo updatedb
=============

Devuelve el cursor. (..... Returns the cursor.)

locate libblas.so.3
===================

/etc/alternatives/libblas.so.3-x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libblas.so.3
/usr/lib/x86_64-linux-gnu/atlas/libblas.so.3
/usr/lib/x86_64-linux-gnu/atlas/libblas.so.3.10.3
/usr/lib/x86_64-linux-gnu/blas/libblas.so.3
/usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
/usr/lib/x86_64-linux-gnu/openblas/libblas.so.3
/var/lib/dpkg/alternatives/libblas.so.3-x86_64-linux-gnu

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Apparently you have several different versions of libblas.so.3 on your system, and it seems that the wrong one (an older one without sgemv_thread_n) is selected.

What is the output of the command

update-alternatives --display libblas.so.3

Revision history for this message
Raúl Zaradnik (raulzar) said :
#4

Como respuesta al comando indicado se obtuvo lo siguiente (In response to the indicated command, the following was obtained):

update-alternatives --display libblas.so.3:
===========================================

update-alternatives: error: no alternatives for libblas.so.3

Buenos días. Gracias por su tiempo.
He intentado desinstalar la librería libblas3, pero resulta imposible (parece que está siendo usada por alguna aplicación). Creo que reinstalaré el CAE LINUX para ver si se resuelve el problema.

Un abrazo.

Good Morning. Thanks for your time.
I tried to uninstall the library libblas3, but it is impossible (it seems that it is being used by some application). I think I will reinstall the CAU LINUX to see if the problem is solved.

A hug.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

It seems that my command was wrong, try

update-alternatives --display libblas.so.3-x86_64-linux-gnu

Revision history for this message
Raúl Zaradnik (raulzar) said :
#6

Estimado Manfred Hampl

No he probado el comando sugerido porque reinstalé el CAE Linux 2018. Debido a que se requiere disco en operación para trabajar.

Ahora, después de reinstalar CAELinux, los programas Octave y Freemat funcionan perfectamente.

Gracias por su tiempo y esfuerzo.

Un abrazo desde Mendoza. Saludos.

---------

Dear Manfred Hampl

I have not tried the suggested command because I reinstalled CAE Linux 2018. Because disk in operation is required to work.

Now, after reinstalling CAELinux, the Octave and Freemat programs work perfectly.

Thanks for your time and effort.

A hug from Mendoza. Greetings.

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.