[SciPy-user] scipy compilation succeeds, test fails

Robert Kern robert.kern@gmail....
Fri Apr 20 21:18:27 CDT 2007


Michele Mazzucco wrote:
> Hi all,
> 
> I've just built SciPy on an Intel Mac OS 10.4, python 2.5.1, gcc
> 4.0.1, gfortran 4.3.0 and fftw 3.1.2.
> I've followed the instructions described here [1]. I can successfully
> install the library, howevever the call to
> scipy.test(1,10)
> fails:
> 
> ======================================================================
> ERROR: check_integer (scipy.io.tests.test_array_import.test_read_array)
> ----------------------------------------------------------------------
> 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 190, 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: ___dso_handle
>   Referenced from:
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/_cephes.so
>   Expected in: dynamic lookup

Install cctools:

  ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-590.36.dmg

I'm afraid I don't know much of the how or why, but it should fix this
particular error.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco


More information about the SciPy-user mailing list