[SciPy-dev] Install error on RHEL5

David Cournapeau david at ar.media.kyoto-u.ac.jp
Mon Jun 30 23:31:37 EDT 2008


Michael Hearne wrote:
> I just finished an install of numpy/scipy/matplotlib on a 64-bit RHEL5 
> system, and am now trying to replicate that on a 32-bit system.  So far, 
> there are two differences:
>
> 1) fftw3 is not available through yum on the 32-bit system, so I built 
> it from source.
>   

That's strange. I doubt that any software available on 64 bits are not
available on 32 bits.

> 2) Attempting to build scipy results in the error below.
>
> Attached is a PDF with the notes (most of which came from Phil Austin) I 
> compiled after installing on the 64-bit system.
>
> I'm currently recompiling ATLAS (which takes an amazingly long time), 
> and then will try to rebuild LAPACK, BLAS, etc.  Before I get there, 
> does anyone have any idea what the root of the below error might be?
>
>  usr/local/bin/python setup.py build
> Traceback (most recent call last):
>   File "setup.py", line 53, in <module>
>     setup_package()
>   File "setup.py", line 28, in setup_package
>     from numpy.distutils.core import setup
>   File "/usr/local/lib/python2.5/site-packages/numpy/__init__.py", line 
> 103, in <module>
>     import linalg
>   File 
> "/usr/local/lib/python2.5/site-packages/numpy/linalg/__init__.py", line 
> 4, in <module>
>     from linalg import *
>   File "/usr/local/lib/python2.5/site-packages/numpy/linalg/linalg.py", 
> line 29, in <module>
>     from numpy.linalg import lapack_lite
> ImportError: 
> /usr/local/lib/python2.5/site-packages/numpy/linalg/lapack_lite.so: 
> undefined symbol: cblas_zgemm
>
>   

Again, without the full build log, we can't really help you. I would
guess that your blas/lapack is not built correctly. Are you using
blas/lapack from netlib ?

You should really use packages first, and only if it does not work, try
to build from sources.

cheers,

David




More information about the SciPy-Dev mailing list