[SciPy-user] Error in scipy.test(10) even after compiling successfully- Mac OS X 10.4.11 Apple GCC 4.0.1

David Cournapeau david@ar.media.kyoto-u.ac...
Thu Nov 29 19:58:19 CST 2007


Joshua Lippai wrote:
> Hello all,
>
> After building scipy, I ran the scipy tests and got this error in check_integer:
>
> ======================================================================
> ERROR: check_integer (scipy.io.tests.test_array_import.TestReadArray)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/io/tests/test_array_import.py",
> line 55, in check_integer
>     from scipy import stats
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/stats/__init__.py",
> line 7, in <module>
>     from stats import *
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/stats/stats.py",
> line 191, in <module>
>     import scipy.special as special
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/__init__.py",
> line 8, in <module>
>     from basic import *
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/basic.py",
> line 8, in <module>
>     from _cephes import *
> ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/_cephes.so,
> 2): Symbol not found: __gfortran_pow_r8_i4
>   Referenced from:
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/_cephes.so
>   Expected in: dynamic lookup
>
> It would appear it's not finding a symbol for gfrotran in one of the
> files, and this in turn makes it impossible to import _cephes. How
> would I go about remedying this?
>   
This symbol is in the gfortran runtime. We need the complete build log 
to be sure about the exact problem, but I expect some mismatch between 
fortran compilers (do you have several fortran compilers on your machine ?).

cheers,

David



More information about the SciPy-user mailing list