2013년 2월 25일 월요일

[TechNote] Unable to install Installation Manager on RHEL 6.0/6.1 (64-bit)

Unable to install Installation Manager on RHEL 6.0/6.1 (64-bit)


Problem(Abstract)

IBM Installation Manager cannot be installed or started on a RHEL 6.0/6.1 x86_64 (64-bit) machine.

Symptom

In a shell window, you run the command ./install in a directory that contains the installation files for Installation Manager. You receive the output:
[root@zahar-rhel64 IMinstallKit]# ./install
bash: ./install: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory


You might also receive an output such as:

[root@c01bmp02 IM]# ./install
JVMJ9VM011W Unable to load j9dmp24: libstdc++.so.5: cannot open shared object file: No such file or directory
JVMJ9VM011W Unable to load j9jit24: libstdc++.so.5: cannot open shared object file: No such file or directory
JVMJ9VM011W Unable to load j9gc24: libstdc++.so.5: cannot open shared object file: No such file or directory
JVMJ9VM011W Unable to load j9vrb24: libstdc++.so.5: cannot open shared object file: No such file or directory

Cause

Installation Manager is a 32-bit application and requires 32-bit versions of OS system libraries. These libraries are not installed on RHEL 6.0/6.1 x86_64 (64-bit) by default. You must install these 32-bit libraries on your system before you run Installation Manager.

Resolving the problem

The required libraries are available on the Red Hat 6.0/6.1 distribution DVD. To install the required libraries:

1. Mount the DVD to the system. Insert the DVD into the DVD drive.

2. Select open a terminal window as a root.

3. Execute the commands:

[root@localhost]# mkdir /mnt/cdrom
[root@localhost]# mount -o ro /dev/cdrom /mnt/cdrom


4. Create the text file server.repo in the /etc/yum.repos.d directory.

NOTE: To use gedit, execute the command:
[root@localhost]# gedit /etc/yum.repos.d/server.repo

Add the following text to the file:

[server]
name=server
baseurl=file:///mnt/cdrom/Workstation
enabled=1


where baseurl depends on the mounting point and the RHEL distribution.

In the example, the mounting point is cdrom and the RHEL distribution is Workstation but could be sever.

5. Execute the command:

[root@localhost]# yum clean all

6. Execute the command to import related public keys:

[root@localhost]# rpm --import /mnt/cdrom/*GPG*

7. Execute the commands to install the required libraries:

[root@localhost]# yum install gtk2.i686
[root@localhost]# yum install libXtst.i686


If you received the the missing libstdc++ message above, install the libstdc++ library:

[root@localhost]# yum install compat-libstdc++

During the install you might receive prompts similar to the example. Answer with 'y'.

Example:
Total download size: 15 M
Installed size: 47 M
Is this ok [y/N]: y


NOTE: The package name extension (.i686) might change in the command depending on the hardware platform that you use. The table lists valid values for the package name extension.

RHEL 6.0 package names on different platforms
Platform​
32-bit​
64-bit​
x86/x86_64​
i686​
x86_64​
ppc/ppc64​
ppc​
ppc64​
s390/s390x​
s390​
s390x​

After completion of these steps, run ./install

Related information

Related technote for compact-libstdc++ package

댓글 없음:

댓글 쓰기