[BioPython] Another problem with Biopython compilation on AMD64

Sebastian Bassi sbassi at asalup.org
Tue Aug 31 09:52:10 EDT 2004


Hello,

When I tried to compile Biopython with python setup.py build I got this:

(cuted some output...)
building 'Bio.KDTree._CKDTree' extension
creating build/temp.linux-x86_64-2.3/Bio/KDTree
g++ -pthread -I/usr/include/python2.3 -c Bio/KDTree/KDTree.cpp -o
build/temp.linux-x86_64-2.3/Bio/KDTree/KDTree.o
g++ -pthread -I/usr/include/python2.3 -c Bio/KDTree/KDTree.swig.cpp -o
build/temp.linux-x86_64-2.3/Bio/KDTree/KDTree.swig.o
g++ -pthread -shared build/temp.linux-x86_64-2.3/Bio/KDTree/KDTree.o
build/temp.linux-x86_64-2.3/Bio/KDTree/KDTree.swig.o -lstdc++ -o
build/lib.linux-x86_64-2.3/Bio/KDTree/_CKDTree.so
/usr/bin/ld: build/temp.linux-x86_64-2.3/Bio/KDTree/KDTree.o: relocation
R_X86_64_32 can not be used when making a shared object; recompile with
-fPIC
build/temp.linux-x86_64-2.3/Bio/KDTree/KDTree.o: could not read symbols:
Bad value
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1

I googled and I found this post that seems related:
http://www.mail-archive.com/debian-ocaml-maint@lists.debian.org/msg05778.html
But I am not sure about wwhat to do :(




More information about the BioPython mailing list