[SciPy-User] cephes library issues: Symbol not found: _aswfa_

Wolfgang Kerzendorf wkerzendorf@googlemail....
Mon Nov 15 19:46:19 CST 2010


Dear all,

I have compiled scipy '0.9.0.dev6901' on my macbook pro (core 2 duo) 
with 10.6.5. It compiled fine with the command python setup.y build_ext 
--fcompiler = gnu95 (forcing it to use gfortran instead of g77). When I 
run it (from scipy.interpolate import griddata) I have found the 
following issue:

-----
  dlopen(/Library/Python/2.6/site-packages/scipy/special/_cephes.so, 2): 
Symbol not found: _aswfa_
   Referenced from: 
/Library/Python/2.6/site-packages/scipy/special/_cephes.so
   Expected in: dynamic lookup
----

On further investigation I have found that the symbol _aswfa_ is only 
contained in the i386 version (nm -arch i386) and not the x86_64 version.
Looking at the makefiles scipy/special/Makefile and 
scipy/special/cephes/Makefile they both have march=pentium and 
march=pentiumpro. In addition they have really old includes of python2.1 
and so on. I am currently compiling them and see if that helps.

Could someone (more experienced than me) have a look at the Makefiles 
for cephes and see if these marchs are still needed?

Cheers
     Wolfgang


More information about the SciPy-User mailing list