I am answering to myself, if it can help someone else.
zlib has to be recompiled with CFLAGS set to -fPIC.
So before launching ./configure do a:
export CFLAGS="-fPIC"
Python then will build properly zlib.so
Tarek
--
http://mail.python.org/mailman/listinfo/python-list
On 1/6/07, Tarek Ziadé <[EMAIL PROTECTED]> wrote:
I am answering to myself, if it can help someone else.
zlib has to be recompiled with CFLAGS set to -fPIC.
So before launching ./configure do a:
export CFLAGS="-fPIC"
Python then will build properly zlib.so
Tarek
--
Tarek Ziadé | Assoc
On Saturday 06 January 2007 03:47, Tarek Ziadé wrote:
> 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
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