On Sun, 01 May 2011 22:14:14 +0200, Hegedüs Ervin wrote: > When I'm compiling it on 64bit, gcc says: > > /usr/bin/ld: skipping incompatible /lib32/lib3rdpartyCrypt.so when > searching for -l3rdpartyCrypt > > There _is_ the .so in /lib32 directory: > > ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically > linked, stripped > > > What is the correct solution?
You need to build your module for a 32-bit version of Python. On a 64-bit system, each process is either 32-bit or 64-bit process. You can't mix 32-bit code and 64-bit code in a single process. If you have to use that library and you only have a 32-bit version of it, then everything else must also be 32-bit: the Python interpreter, your binary module, and all of the libraries which it uses. -- http://mail.python.org/mailman/listinfo/python-list