Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a third party python API thats only available in 32 bit (ELF 32-bit LSB shared object) that I need to run on a x64 RedHat server. Of course this doesn't work smothly since the python installation is 64 bit. I figure that the way to solve this is to run python as 32 bit userland on the 64 bit kernel.

How do I do this? Do I have to compile a 32 bit python on RedHat x64? Is there an easier way?

# cat /etc/redhat-release
Red Hat Enterprise Linux Client release 5.3 (Tikanga)

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You should be able to easily install a 32-bit redhat chroot and run your python from that. You can use Mach to generate the chroot, then just chroot into the directory that you built with Mach and run your script from there.

More information can be found:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.