[SciPy-user] Problems with fftpack on OS X 10.4

Robert Kern rkern at ucsd.edu
Wed May 11 10:31:52 EDT 2005


Tim Gray wrote:
> Hi, I am a very happy (new) user of scipy (CVS), matplotlib (.74), and python (2.4.1) for analysis and plotting of scientific data.  I have been running a CVS version of scipy on my computer at work, which is running OS X 10.3.8.  Everything has been wonderful there.  
> 
> However, on my personal computer, I recently upgraded to OS X 10.4.  I reinstalled all my python packages and got everything working, except for scipy (again, the current CVS build).  Scipy seemed to build ok, but when I call anything in fftpack, I get the error at the end of this post.  I recompiled fftw (2.1.5) and ran make check (or test?  they all passed) before rebuilding scipy, but the error remains.  Any help would be appreciated.  

> ImportError: Failure linking new module: /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/fftpack/_fftpack.so: Symbol not found: _fprintf$LDBLStub
>   Referenced from: /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/fftpack/_fftpack.so
>   Expected in: dynamic lookup

Offhand, I'd suggest using gcc 3.3 to compile Scipy and FFTW, not gcc 
4.0 which is the default on Tiger. Python 2.4.1 is compiled with gcc 3.3.

$ sudo gcc_select 3.3

If that doesn't work, lemme know, and I'll look into it more deeply.

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the SciPy-User mailing list