[Python-modules-team] Bug#581412: ImportError: libblas.so.3gf: cannot open shared object file: No such file or directory
Sascha Silbe
sascha-debian-bugs-python-numpy-2010-05-12 at silbe.org
Wed May 12 18:57:48 UTC 2010
Package: python-numpy
Version: 1:1.3.0-3+b1
Severity: important
numpy doesn't find libblas.so.3gf, even though it's installed:
root at xo15-minimal:~# env|grep ^LD
root at xo15-minimal:~# python
Python 2.5.5 (r255:77872, Apr 21 2010, 08:44:16)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy.linalg.lapack_lite
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/numpy/__init__.py", line 130, in <module>
import add_newdocs
File "/usr/lib/python2.5/site-packages/numpy/add_newdocs.py", line 9, in <module>
from lib import add_newdoc
File "/usr/lib/python2.5/site-packages/numpy/lib/__init__.py", line 13, in <module>
from polynomial import *
File "/usr/lib/python2.5/site-packages/numpy/lib/polynomial.py", line 18, in <module>
from numpy.linalg import eigvals, lstsq
File "/usr/lib/python2.5/site-packages/numpy/linalg/__init__.py", line 47, in <module>
from linalg import *
File "/usr/lib/python2.5/site-packages/numpy/linalg/linalg.py", line 22, in <module>
from numpy.linalg import lapack_lite
ImportError: libblas.so.3gf: cannot open shared object file: No such file or directory
>>>
sascha.silbe at xo15-minimal:~/src/measure$ dpkg -l liblapack3gf
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-====================================-====================================-========================================================================================
ii liblapack3gf 3.2.1-8 library of linear algebra routines 3 - shared version
sascha.silbe at xo15-minimal:~/src/measure$ ls -l /usr/lib/lapack/liblapack.so.3gf*
lrwxrwxrwx 1 root root 18 May 8 08:08 /usr/lib/lapack/liblapack.so.3gf -> liblapack.so.3gf.0
-rw-r--r-- 1 root root 7301416 Apr 27 22:53 /usr/lib/lapack/liblapack.so.3gf.0
Note that running python as root is just to prevent user configuration like LD_RUN_PATH from interfering. It happens for any user.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.31.6-xo1.5-1-00330-g12e4512 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-numpy depends on:
ii libblas3gf [libblas.so.3gf] 1.2-7 Basic Linear Algebra Reference imp
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.2-9 GCC support library
ii libgfortran3 4.4.2-9 Runtime library for GNU Fortran ap
ii liblapack3gf [liblapack.so.3 3.2.1-8 library of linear algebra routines
ii python 2.5.4-9 An interactive high-level object-o
ii python-central 0.6.14+nmu2 register and build utility for Pyt
python-numpy recommends no packages.
Versions of packages python-numpy suggests:
pn python-nose <none> (no description available)
pn python-numpy-dbg <none> (no description available)
pn python-numpy-doc <none> (no description available)
-- no debconf information
More information about the Python-modules-team
mailing list