Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4413

Compile 32bit C-lib on 64 bit

Date 2011-05-01 22:14 +0200
From Hegedüs Ervin <airween@gmail.com>
Subject Compile 32bit C-lib on 64 bit
Newsgroups comp.lang.python
Message-ID <mailman.1045.1304280864.9059.python-list@python.org> (permalink)

Show all headers | View raw


Hello,

this is not a "clear" Python question - I've wrote a module in C,
which uses a 3rd-party lib - it's a closed source, I just get the
.so, .a and a header file.

Looks like it works on 32bit (on my desktop), but it must be run
on 64bit servers.


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?


thank you:


a.

Back to comp.lang.python | Previous | NextNext in thread | Find similar


Thread

Compile 32bit C-lib on 64 bit Hegedüs Ervin <airween@gmail.com> - 2011-05-01 22:14 +0200
  Re: Compile 32bit C-lib on 64 bit Nobody <nobody@nowhere.com> - 2011-05-02 03:20 +0100
    Re: Compile 32bit C-lib on 64 bit Hegedüs, Ervin <airween@gmail.com> - 2011-05-02 08:43 +0200
  Re: Compile 32bit C-lib on 64 bit Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-05-02 08:31 +0000

csiph-web