[SciPy-user] Trouble Compiling SciPy 0.4.8 under Debian 3.1r0a on AMD64

Gil Citro citrog at gmail.com
Wed Apr 5 15:11:50 EDT 2006


I'm trying to install SciPy 0.4.8 from source under Debian 3.1r0a on
an AMD64 machine.  When I type python setup.py install, I get this
error

/usr/bin/ld: /usr/local/lib/libfftw3.a(mapflags.o): relocation
R_X86_64_32 can not be used when making a shared object; recompile
with -fPIC
/usr/local/lib/libfftw3.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
/usr/bin/ld: /usr/local/lib/libfftw3.a(mapflags.o): relocation
R_X86_64_32 can not be used when making a shared object; recompile
with -fPIC
/usr/local/lib/libfftw3.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Command "/usr/bin/g77 -shared
build/temp.linux-x86_64-2.3/build/src/Lib/fftpack/_fftpackmodule.o
build/temp.linux-x86_64-2.3/Lib/fftpack/src/zfft.o
build/temp.linux-x86_64-2.3/Lib/fftpack/src/drfft.o
build/temp.linux-x86_64-2.3/Lib/fftpack/src/zrfft.o
build/temp.linux-x86_64-2.3/Lib/fftpack/src/zfftnd.o
build/temp.linux-x86_64-2.3/build/src/fortranobject.o -L/usr/local/lib
-Lbuild/temp.linux-x86_64-2.3 -ldfftpack -lfftw3 -lg2c-pic -o
build/lib.linux-x86_64-2.3/scipy/fftpack/_fftpack.so" failed with exit
status 1

FFTW 3.1.1 is installed from sources and tests good with make check. 
Has anyone seen this problem?  The closest match I came across was
this, but it doesn't suggest to me how to fix the problem.

http://www.mail-archive.com/cross-lfs@linuxfromscratch.org/msg00411.html

If anyone has a suggestion about what to try I'd appreciate it.  Thanks.

Gil




More information about the SciPy-User mailing list