[SciPy-user] sfftw problem during build

John Hunter jdhunter at ace.bsd.uchicago.edu
Sun Sep 23 15:33:42 CDT 2001


I am trying to install  SciPy-0.1 from source on an i386 linux distro
with python 2.1.  I installed fftw per the instructions with :

# configure --enable-i386-hacks --enable-threads
# make install 
# make clean
# configure --enable-threads --enable-float --enable-i386-hacks
# make install

and have the following in /usr/local/lib:
  /usr/local/lib/libfftw.la          /usr/local/lib/librfftw.la
  /usr/local/lib/libfftw_threads.a   /usr/local/lib/librfftw_threads.a
  /usr/local/lib/libfftw_threads.la  /usr/local/lib/librfftw_threads.la

During the build process for SciPy, I get a compiler error looking for
-lsfftw_threads.

I am assuming the sfft libs are the SWIG wrappers for the fftw libs.
But in any case, I have no libsfft* anwhere on my system, and can't
find anyway to build them

Suggestions?

Here is the command that bombed during the make and the compiler
(gcc-2.95.2) output:

gcc -shared build/temp.linux-i686-2.1/sfftw_wrap.o -L/root/lib -L/usr/local/lib/
gcc-lib/i686-pc-linux-gnu/2.95.2/specs -L/usr/local/lib/gcc-lib/i686-pc-linux-gn
u/2.95.2/specs -Lbuild/temp.linux-i686-2.1 -Lbuild/temp.linux-i686-2.1 -lsfftw_t
hreads -lsrfftw_threads -lsfftw -lsrfftw -lpthread -lamos -ltoms -lfitpack -lmin
pack -lquadpack -lodepack -llinpack_lite -lblas -lmach -lg2c -lgist -lc_misc -lc
ephes -o build/lib.linux-i686-2.1/scipy/fft/sfftw.so
/usr/bin/ld: cannot open -lsfftw_threads: No such file or directory
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1



More information about the SciPy-user mailing list