[Numpy-discussion] Undefined symbol in lapack_lite.so

Edward C. Jones edcjones at erols.com
Wed Oct 31 07:51:03 CST 2001


The following Python program:

import Numeric, LinearAlgebra

a = Numeric.identity(5)
v, s, wt = LinearAlgebra.singular_value_decomposition(a)

gave the following error:

Traceback (most recent call last):
  File "./silly.py", line 3, in ?
    import Numeric, LinearAlgebra
  File "/usr/lib/python2.2/site-packages/Numeric/LinearAlgebra.py", line 
8, in ?    import lapack_lite
ImportError: /usr/lib/python2.2/site-packages/Numeric/lapack_lite.so: 
undefined symbol: dgesdd_

When I installed Numeric-20.2.0, I changed Setup.py to:

# delete all but the first one in this list if using your own LAPACK/BLAS
sourcelist = ['Src/lapack_litemodule.c',]
# set these to use your own BLAS
library_dirs_list = ['usr/lib']
libraries_list = ['/usr/lib/libblas.so', '/usr/lib/liblapack.so']

What is the problem?

Thanks,
Ed Jones






More information about the Numpy-discussion mailing list