Tuesday, April 30, 2013

RHEL 6 x64: running 32 bit applications (redhat linux libraries) - thanks to Server Fault

We develop an application which currently works in 32 bit mode only. It worked fine in RHEL 5 but failed to work in RHEL 6. The reason is RHEL 6 by default is installed with 64 bit libraries only. Moreover, we didn't find a way to choose installation of 32bit runtime environment during or after system installation.
Of course, we did find a way to install three rpm packages with 32 bit libraries required for our application to work. But it looks like unpleasant for our customers (we have to install three rpms from the DVD in the command line). So the question is:
Is there a convenient way for RHEL 6 customers to install 32 bit libraries it their RHEL 6 system? Say, any user-friendly item in menu or a special command that install the same set of 32 bit system libraries that existed in RHEL 5? What are best practicies in such cases?
share|improve this question
which 32-bit packages do you need? RHEL makes many 32-bit libraries available for their 64-bit systems. For example, yum search libstdc++ yields both an x86_64 package and an i686 package. – Chad Feller Sep 6 '11 at 2:21
user54614 A quite delayed answer but perhaps you will like it. – Soham Chakraborty Sep 29 '12 at 7:22
The fix in RHEL6 or in derivatives of RHEL6 is to add the parameter multilib_policy=all in your/etc/yum.conf file and that should work out.
It will enable fetching packages of all architectures and is not limited to the 64 bit versions only.
share|improve this answer
correct answers are always valued! I have removed the "is this correct" bit, since it is OK. – Paul Wagland Jan 10 at 20:49

redhat - RHEL 6 x64: running 32 bit applications - Server Fault

'via Blog this'

No comments:

Post a Comment