libblas error with NumPy 1.0rc2 on Python 2.5 and Red Hat 9

Karol Langner karol.langner at kn.pl
Wed Oct 11 02:43:44 CDT 2006


On Wednesday 11 of October 2006 05:38, Steven H. Rogers wrote:
> Is there a specific libblas required by NumPy?  I just installed 1.0rc2
> and get this error.
>
> Python 2.5 (r25:51908, Sep 21 2006, 17:18:24)
> [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
>  >>> import numpy
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/python2.5/site-packages/numpy/__init__.py", line
> 40, 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 25, in <module>
>     from numpy.linalg import lapack_lite
> ImportError: /usr/lib/libblas.so.3: undefined symbol: e_wsfe
>
> Regards,
> Steve

I've seen this a couple of times - e_wsfe is a Fortran I/O symbol from the gcc 
system and should be made available by libg2c. My guess if that you have 
inconsistencies in the compilers used, i .e. a different one was used for 
building the blas libraries by RH and by you for numpy.

Try adding g2c to the list of libraries. There's a comment about it in the 
scipy FAQ:
http://www.scipy.org/FAQ#head-26562f0a9e046b53eae17de300fc06408f9c91a8

Karol

-- 
written by Karol Langner
Wed Oct 11 09:35:15 CEST 2006

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Numpy-discussion mailing list