[SciPy-dev] how to debug: undefined symbol: clapack_sgetrf

Pearu Peterson pearu at cens.ioc.ee
Mon Mar 25 11:14:47 CST 2002

On 25 Mar 2002, Carl Haugan wrote:

> Hello,
> I'm trying to install scipy (loaded from the CVS tree) onto a Mandrake
> 8.2 system.  I think I've followed the instructions at:
>  http://www.scipy.org/Members/fperez/PerezCVSBuild.htm
> I get the following error:
>     exec("import %s" % name, gldict)
>   File "<string>", line 1, in ?
> ImportError: /usr/lib/python2.2/site-packages/scipy/linalg/clapack.so:
> undefined symbol: clapack_sgetrf
> How should I go about figuring out what went wrong? 

Seems like ATLAS is not discovered properly. What is the output of

  python scipy_distutils/system_info.py

? What ATLAS you are using?

Note that the latest SciPy CVS tree requires also the latest unstable 
version of ATLAS (>3.3.14) because linalg2 is being merged into the SciPy
installation tree right now and linalg2 wraps some routines that are
not present in the current stable ATLAS release. 
The instructions in PerezCVSBuild.htm should be updated accordingly.


More information about the Scipy-dev mailing list