On Dec 14, 5:20 pm, "Martin v. Löwis" wrote:
> > So.. it seems as though I need to get it to point to the 64 bit
> > version (or compile the zlib that comes with Python source). I'm not
> > sure how to override that.
>
> The easiest solution would be to invoke the linker line manually,
> and repl
> So.. it seems as though I need to get it to point to the 64 bit
> version (or compile the zlib that comes with Python source). I'm not
> sure how to override that.
The easiest solution would be to invoke the linker line manually,
and replace -lz with the absolute path to the right library.
Reg
On Dec 14, 5:03 pm, "peter s." wrote:
> On Dec 14, 4:54 pm, "Martin v. Löwis" wrote:
>
>
>
> > > Target: x86_64-redhat-linux
> > > gcc -pthread -shared build/temp.linux-x86_64-2.5/location/of/
> > > Python-2.5.2/Modules/zlibmodule.o -L/usr/local/lib -lz -o build/
> > > lib.linux-x86_64-2.5/zlib.s
On Dec 14, 4:54 pm, "Martin v. Löwis" wrote:
> > Target: x86_64-redhat-linux
> > gcc -pthread -shared build/temp.linux-x86_64-2.5/location/of/
> > Python-2.5.2/Modules/zlibmodule.o -L/usr/local/lib -lz -o build/
> > lib.linux-x86_64-2.5/zlib.so
> > /usr/bin/ld: skipping incompatible /usr/lib/libz.
> Target: x86_64-redhat-linux
> gcc -pthread -shared build/temp.linux-x86_64-2.5/location/of/
> Python-2.5.2/Modules/zlibmodule.o -L/usr/local/lib -lz -o build/
> lib.linux-x86_64-2.5/zlib.so
> /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for
> -lz
Do
file /usr/lib/libz.so