[SciPy-user] lapack unresolved symbol question
Karl Young
Karl.Young at ucsf.edu
Tue Oct 16 14:47:55 EDT 2007
From googling around a bit it looks like I'm having an unresolved
symbol problem that was apparently typical at one point but also
apparently solved. But I can't quite pinpoint the fix so I figured I'd
check re. easy fixes before rebuilding libraries and the like.
The issues seems to be that the symbol clapack_sgesv is missing from
/usr/lib/python2.4/site-packages/scipy/linalg/clapack.so
- apparently confirmed via nm, i.e.
nm /usr/lib/python2.4/site-packages/scipy/linalg/clapack.so | grep
clapack_sgesv
U clapack_sgesv
00012640 d doc_f2py_rout_clapack_sgesv
000094c0 t f2py_rout_clapack_sgesv
In detail:
------------------------------------------------------------------------------------------------------------------------------
In [1]: from scipy.linalg import *
exceptions.ImportError Traceback (most
recent call last)
/home/karl/projects/MCMC/<ipython console>
/usr/lib/python2.4/site-packages/scipy/linalg/__init__.py
6 from linalg_version import linalg_version as __version__
7
----> 8 from basic import *
9 from decomp import *
10 from matfuncs import *
/usr/lib/python2.4/site-packages/scipy/linalg/basic.py
15 #from blas import get_blas_funcs
16 from flinalg import get_flinalg_funcs
---> 17 from lapack import get_lapack_funcs
18 from numpy import
asarray,zeros,sum,newaxis,greater_equal,subtract,arange,\
19 conjugate,ravel,r_,mgrid,take,ones,dot,transpose,sqrt,add,real
/usr/lib/python2.4/site-packages/scipy/linalg/lapack.py
16
17 from scipy.linalg import flapack
---> 18 from scipy.linalg import clapack
19 _use_force_clapack = 1
20 if hasattr(clapack,'empty_module'):
ImportError: /usr/lib/python2.4/site-packages/scipy/linalg/clapack.so:
undefined symbol: clapack_sgesv
------------------------------------------------------------------------------------------------------------------------------
My situation:
os version = Fedora Core release 5 (Bordeaux)
python version = Python 2.4.3 (#1, Oct 23 2006, 14:19:47)
scipy version = '0.5.3.dev2950'
Any tips appreciated, thanks,
--
Karl Young
Center for Imaging of Neurodegenerative Diseases, UCSF
VA Medical Center (114M) Phone: (415) 221-4810 x3114 lab
4150 Clement Street FAX: (415) 668-2864
San Francisco, CA 94121 Email: karl young at ucsf edu
More information about the SciPy-User
mailing list