Re: 64bit Python 32bit c library ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





--- On Thu, 3/26/09, Ben <abnormaliti@xxxxxxxxxxxxxxxxxxx> wrote:

> From: Ben <abnormaliti@xxxxxxxxxxxxxxxxxxx>
> Subject:  64bit Python 32bit c library ...
> To: "CentOS mailing list" <centos@xxxxxxxxxx>
> Date: Thursday, March 26, 2009, 10:48 PM
> 
> -----Inline Attachment Follows-----
> 
> I have a closed-source 32bit
> database application running on a 64bit 
> CentOS 5.2 system which is running very well however i am
> looking at 
> developing some python applications that require access to
> the data and 
> the vendor only provides a 32bit c library.
> 
> So while attempting to utilize the library in python with
> ctypes it 
> became obvious that the 64bit python cannot use the 32bit c
> library.
> 
> So what are my choices?
> 

Yum and so many of the applets (system-config-*) are tied to Python that you can't mess with the base version or arch of Python.

What about a 32 bit chroot using Mock? I've never done it, but that's what Mock is intended to do.

Perl.i386 will run OK in x86_64 and there is a version of perl-Inline-CPP that will allow you to write most of what you want in CPP and wrap it with Perl.

-- 
Mark



      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux