[SciPy-user] cephes : gfortran

Robert Kern robert.kern@gmail....
Thu Apr 24 13:56:44 CDT 2008


On Thu, Apr 24, 2008 at 8:29 AM, Johann Cohen-Tanugi
<cohen@slac.stanford.edu> wrote:
> hello again,
>  I also have a problem  between cephes and gfortran :
>  In [4]: from scipy import *
>  ---------------------------------------------------------------------------
>  ImportError                               Traceback (most recent call last)
>
>  /home/cohen/<ipython console> in <module>()
>
>  /usr/lib/python2.5/site-packages/scipy/special/__init__.py in <module>()
>       6 #from special_version import special_version as __version__
>       7
>  ----> 8 from basic import *
>       9 import specfun
>      10 import orthogonal
>
>  /usr/lib/python2.5/site-packages/scipy/special/basic.py in <module>()
>       6
>       7 from numpy import *
>  ----> 8 from _cephes import *
>       9 import types
>      10 import specfun
>
>  ImportError: /usr/lib/python2.5/site-packages/scipy/special/_cephes.so:
>  undefined symbol: _gfortran_st_write_done
>
>  I rebuilt with --fcompiler=gfortran to make sure, but I still get this....

It's --fcompiler=gnu95 . Presumably, the Fortran runtime libraries
didn't get linked in. Please post the full build log.

-- 
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