[SciPy-user] OS-X Universal binary?

Chris Barker Chris.Barker at noaa.gov
Thu Mar 26 13:11:20 EDT 2009


OK -- it turns out that the Universal binary has more than just the 
Universal issue. The extensions depend on libgfortran, too


  I just put in on an Intel machine, and got:


 >>> import scipy.interpolate
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/interpolate/__init__.py", 
line 7, in <module>
     from interpolate import *
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/interpolate/interpolate.py", 
line 13, in <module>
     import scipy.special as spec
   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): Library not loaded: /usr/local/lib/libgfortran.2.dylib
   Referenced from: 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/_cephes.so
   Reason: image not found

What a pain!

-Chris



More information about the SciPy-User mailing list