[SciPy-user] sfftw problem during build

eric jones eric at scipy.org
Sun Sep 23 17:14:03 CDT 2001

Hey John,

The instructions  on
have slightly different configure commands than you used.  The second
step should be:

./configure --enable-threads --enable-float --enable-type-prefix

The --enable-float command here forces the build to single precision and the
--enable-type-prefix  switch adds the "s" in front of fftw in the library
I'd rebuild the entire fftw library based on the instructions on the above
page because
I'm afraid the double precision rfftw libraries were over written with a
precision version.

Where did you find the given config instructions?  If we have two versions
of the
instructions running around, let us know so we can get them in sync.


----- Original Message -----
From: "John Hunter" <jdhunter at ace.bsd.uchicago.edu>
To: "SciPy Users" <scipy-user at scipy.net>
Sent: Sunday, September 23, 2001 4:33 PM
Subject: [SciPy-user] sfftw problem during build

> 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-linu
u/2.95.2/specs -Lbuild/temp.linux-i686-2.1 -Lbuild/temp.linux-i686-2.1 -lsff
hreads -lsrfftw_threads -lsfftw -lsrfftw -lpthread -lamos -ltoms -lfitpack -
pack -lquadpack -lodepack -llinpack_lite -lblas -lmach -lg2c -lgist -lc_misc
> 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
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user

More information about the SciPy-user mailing list