python, zlib, and fedora 64bits

Tarek Ziadé ziade.tarek at gmail.com
Sat Jan 6 04:47:17 EST 2007


Hello,

I am trying to compile Python on a Fedora 64bits, and I can't make zlib
work.

a python setup.py build leads to :

...
building 'zlib' extension
gcc -pthread -shared
build/temp.linux-x86_64-2.4/usr/local/src/Python-2.4.4/Modules/zlibmodule.o
-L/opt/python-2.4.4/lib -L/usr/local/lib -lz -o build/lib.linux-x86_64-2.4
/zlib.so
/usr/bin/ld: /usr/local/lib/libz.a(crc32.o): relocation R_X86_64_32 against
`a local symbol' can not be used when making a shared object; recompile with
-fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld gab 1 als Ende-Status zurück
running build_scripts
running install_lib
...

I've tried to recompile zlib, but didn't find any way to avoid this error

any ideas ?

Otherwise, does anyone has a zlib.so for fedora 64bits to send me ?

Thx

Tarek

-- 
Tarek Ziadé | Association AfPy | www.afpy.org
Blog FR | http://programmation-python.org
Blog EN | http://tarekziade.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070106/acff49bd/attachment.html>


More information about the Python-list mailing list