I have a 64-bits RHEL 6 server and I want to install the 32-bits jdk from Oracle, which comes as an executable. When I fire it up I end up with:
[root@zeus opt]# ./jdk-6u27-linux-i586.bin
./jdk-6u27-linux-i586.bin: ./install.sfx.4646: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Failed to extract the files. Please refer to the Troubleshooting section of
the Installation Instructions on the download page for more information.
I know this is due to the 32-bits compatibility mode (which is obviously not present on my system). Back in the old days of RHEL 5, this was solved with yum install ia32-libs, or something along that line, but they seem to have renamed the package in RHEL 6.
Does someone know the command to install the 32-biit compatibility (mode) layer on a 64-bit RHEL6 server ?
Weird to reply to your own statements. The following seems to help:
yum install glibc-devel.i686 libgcc.i686 libstdc++-devel.i686