[SciPy-user] scipy install errors

Alastair Basden a.g.basden@durham.ac...
Wed Feb 20 04:36:54 CST 2008


Hi,
further investigations - I've managed to get scipy compiled using gfortran 
except for 2 files (where it segmented), and I used g77.

However, then when I import scipy.special:
>>> import scipy.special
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"/data/hamilton/dph1agb/lib/python2.5/site-packages/scipy/special/__init__.py", 
line 8, in <module>
    from basic import *
  File 
"/data/hamilton/dph1agb/lib/python2.5/site-packages/scipy/special/basic.py", 
line 8, in <module>
    from _cephes import *
ImportError: 
/data/hamilton/dph1agb/lib/python2.5/site-packages/scipy/special/_cephes.so: 
undefined symbol: _gfortran_filename

I guess these are something to do with the g77 compiled files:
g77  -Wall -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops 
-mmmx -m3dnow -msse2 -msse -Iscipy/splinalg/eigen/arpack/ARPACK/SRC -c -c 
scipy/splinalg/eigen/arpack/ARPACK/SRC/dnaupe.f -o 
build/temp.linux-x86_64-2.5/scipy/splinalg/eigen/arpack/ARPACK/SRC/dnaupe.o

and

g77  -Wall -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops 
-mmmx -m3dnow -msse2 -msse -Iscipy/splinalg/eigen/arpack/ARPACK/SRC -c -c 
scipy/splinalg/eigen/arpack/ARPACK/SRC/snaupe.f -o 
build/temp.linux-x86_64-2.5/scipy/splinalg/eigen/arpack/ARPACK/SRC/snaupe.o




More information about the SciPy-user mailing list