[Python-modules-team] Bug#454484: ImportError: undefined symbol: clapack_sgesv in scipy/linalg/clapack.so

Erich Schubert erich at debian.org
Wed Dec 5 16:40:46 UTC 2007


Package: python-scipy
Version: 0.6.0-4
Severity: grave
Justification: renders package unusable

$ python
Python 2.4.4 (#2, Aug 16 2007, 02:03:40) 
[GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
>>> import scipy.linalg
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/scipy/linalg/__init__.py", line 8, in ?
    from basic import *
  File "/usr/lib/python2.4/site-packages/scipy/linalg/basic.py", line 17, in ?
    from lapack import get_lapack_funcs
  File "/usr/lib/python2.4/site-packages/scipy/linalg/lapack.py", line 18, in ?
    from scipy.linalg import clapack
ImportError: /usr/lib/python2.4/site-packages/scipy/linalg/clapack.so: undefined symbol: clapack_sgesv

Update: looks like installing atlas3-sse2 helps to resolve the dependencies.
So it's either the dependencies or the ABI which is broken, pick any.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-scipy depends on:
ii  lapack3 [liblapack.so. 3.0.20000531a-6.1 library of linear algebra routines
ii  libc6                  2.7-3             GNU C Library: Shared libraries
ii  libfftw3-3             3.1.2-3           library for computing Fast Fourier
ii  libg2c0                1:3.4.6-6         Runtime library for GNU Fortran 77
ii  libgcc1                1:4.2.2-4         GCC support library
ii  libstdc++6             4.2.2-4           The GNU Standard C++ Library v3
ii  libsuitesparse         3.0.0-7           collection of libraries for comput
ii  python                 2.4.4-6           An interactive high-level object-o
ii  python-central         0.5.15            register and build utility for Pyt
ii  python-imaging         1.1.6-1           Python Imaging Library
ii  python-numpy           1:1.0.3-1         Numerical Python adds a fast array
ii  refblas3 [libblas.so.3 1.2-8             Basic Linear Algebra Subroutines 3

Versions of packages python-scipy recommends:
ii  g++ [c++-compiler]            4:4.2.1-6  The GNU C++ compiler
ii  g++-4.1 [c++-compiler]        4.1.2-17   The GNU C++ compiler
ii  g++-4.2 [c++-compiler]        4.2.2-4    The GNU C++ compiler

-- no debconf information





More information about the Python-modules-team mailing list