|
Importing 32 bit swig library from python2.4 on 64 bit machine
Hi,
I am using swig framework to invoke certain C APIs in a C Library from a python program. Unfortunately the python software needs to run on a 64 bit virtualization platform, whereas the C library is 32 bit (its a 3rd party library whose 64 bit version is not available). Lets say the name of the swig generated shared library is _my_swig.so. When the python wrapper makes "import _my_swig" call, i see the following error
ImportError: -snipsnip-/_my_swig.so: wrong ELF class: ELFCLASS32
which probably means I am trying to import a 32 bit library from 64 bit python. Can anybody suggest any workaround?
thanks
veerals123
|