RHEL 7 64-bit, install 32-bit libraries for legacy software?
We still have a need for 32bit libraries for legacy cross-compiles, can RHEL7 64-bit be installed with the 32-bit libraries same as we did in RHEL6? This works currently now with RHEL 6.5 by installing the 32-bit packages(RedHat RPMs) and all works well. Does anyone know?
Background, if we install RHEL 6.5 64-bit today as Desktop with no options, then install a series of 32-bit packages from RedHat on top(RPMS) our environment works really well. We cross compile to 32-bit binaries to run on another host platform. We'll need to replicate this if we go to RHEL 7. Any help is appreciated.
Thanks,
Ted
Responses
Yes, installing 32-bit libraries is still available. In fact, it is more important than ever because of the lack of a 32-bit RHEL7.
As a test, I just installed the following 32-bit packages successfully on RHEL7 server with the GNOME desktop's "gpk-application". Using the drop-down menu, you must 1st turn OFF "Only Native Packages":
glibc
glibc-devel
motif
motif-devel
SDL
SDL-devel
This pulled in 32-bit dependencies such as libgcc.
I haven't actually tried compiling, but it is safe to assume that it will work the same as RHEL 6.5.
Hello Ted,
Actually just for a test, I installed a machine using DVD installation media and kickstart file with a %packages section as follows.
%packages --multilib
*
-cpufrequtils
-cpufrequtils-devel
-@Conflicts (Server)
%end
And it actually installed all available i686, x86_64 and noarch packages.
[root@newrhel7 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.0 (Maipo)
[root@newrhel7 ~]# uname -a
Linux newrhel7 3.10.0-123.el7.x86_64.debug #1 SMP Mon May 5 11:24:18 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@newrhel7 ~]# rpm -qa --queryformat "%{Name}-%{VERSION}-%{RELEASE}-%{ARCH}\n" | egrep i686 | wc -l
1022
[root@newrhel7 ~]# rpm -qa --queryformat "%{Name}-%{VERSION}-%{RELEASE}-%{ARCH}\n" | egrep noarch | wc -l
1168
[root@newrhel7 ~]# rpm -qa --queryformat "%{Name}-%{VERSION}-%{RELEASE}-%{ARCH}\n" | egrep x86_64 | wc -l
2113
[root@newrhel7 ~]# rpm -qa | wc -l
4303
And yes, the cross-platform libraries are there just like RHEL6. Hope this helps you ! :)
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
