November 20, 2010

"cannot open shared object file" when installing Oracle Database 10g on Oracle Enterprise Linux 5.5

Problem:

When installing Oracle Database 10g (10.2.0) on Oracle Enterprise Linux 5.5 or Red Hat Enterprise Linux 5.5, you may receive the following error:
oracle@oradev:/u01/app/install_software/database> ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-5, SuSE-9, redhat-4, UnitedLinux-1.0, asi
Passed

All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-11-14_11-35-24PM. P
all_software/database> Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraI
b/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
The database install file used was 10201_database_linux32.zip.

Additional Notes:

Note that out-of-the-box, Oracle Database 10g does not recognize OEL 5.5 as a valid operating system. There are 3 different options to work around this:

1. Update the installation file database/install/oraparam.ini and replace all occurences of "redhat-3" to "redhat-5".

2. Update the /etc/redhat-release file to trick the installer.

3. Follow Metalink Note ID 564174.1.

Solution:

As for the error above, simply mount Disk 3 of the OEL 5.5 media, and apply the following RPM:
rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
Rerun the installer and you should be fine.

Applicable Versions:
  • Oracle Enterprise Linux 5.5 32-bit
  • Oracle Database 10g (10.2.0.1) 32-bit

References:

http://www.puschitz.com/InstallingOracle10g.shtml
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=564174.1

1 comment:

  1. You have a real ability to write a content that is helpful for us. Thank you for your efforts in sharing such blogs to us. Oracle Fusion Manufacturing online Training

    ReplyDelete