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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.