[SciPy-user] SciPy Install failure: dfftpack not found

David Treadwell i.failed.turing.test at gmail.com
Wed Feb 22 12:50:37 CST 2006


On Feb 22, 2006, at 12:35 PM, Robert Kern wrote:

> David Treadwell wrote:
>> Help, Please! SciPy installation is giving me fits. After a recent HD
>> crash, I'm trying to reinstall my Python system.
>
> Chris Fonnesbeck was having the same problem over on the SciPy-dev  
> list, so I'm
> just going to copy-and-paste my response to him:
>
> The dependency handling between numpy.distutils commands is not the  
> greatest.
> Sometimes you have to specify all of the intermediate commands. For  
> example, all
> of my build lines look like this (any other commands being elided  
> by ...):
>
> $ python setup.py ... build_src build_clib build_ext build ...
>
> In particular, you are missing the build_clib command which will build
> libdfftpack.a for you.

Thanks for the help, Robert. The egg builds and installs just fine  
now with the commands

     $ sudo python setup.py build_clib bdist_egg
     $ sudo easy_install ~/Desktop/scipy-0.4.6/dist/scipy-0.4.6-py2.4- 
macosx-10.4-ppc.egg


BUT... there is a problem with two of the modules: 'signal' and  
'fftpack'.

The build looks like it proceeded w/o error, but I could have missed  
something. The error looks similar to one you helped out with back in  
May 2005: http://www.scipy.net/pipermail/scipy-user/2005-May/ 
004450.html , but I'm not sure it's what's going on here. I am using  
gcc3.3 and the latest release of NumPy and SciPy.

One other possibility Google has suggested is a problem with python- 
ldap, which, frankly is beyond my understanding. :( http:// 
sourceforge.net/mailarchive/forum.php? 
forum_id=4346&max_rows=25&style=flat&viewmonth=200506

Any suggestions on this one?

--DRT

 >>> import numpy
 >>> import scipy
 >>> scipy.test(10,1)
import signal -> failed: Failure linking new module: /Users/drt/ 
Library/Python2.4/site-packages/scipy-0.4.6-py2.4-macosx-10.4-ppc.egg/ 
scipy/fftpack/_fftpack.so: Symbol not found: _fprintf$LDBLStub
   Referenced from: /Users/drt/Library/Python2.4/site-packages/ 
scipy-0.4.6-py2.4-macosx-10.4-ppc.egg/scipy/fftpack/_fftpack.so
   Expected in: dynamic lookup

import fftpack -> failed: Failure linking new module: /Users/drt/ 
Library/Python2.4/site-packages/scipy-0.4.6-py2.4-macosx-10.4-ppc.egg/ 
scipy/fftpack/_fftpack.so: Symbol not found: _fprintf$LDBLStub
   Referenced from: /Users/drt/Library/Python2.4/site-packages/ 
scipy-0.4.6-py2.4-macosx-10.4-ppc.egg/scipy/fftpack/_fftpack.so
   Expected in: dynamic lookup



More information about the SciPy-user mailing list