Installing Oracle 10 Gb has encountered the cannot open shared object file error and Solution
[Root @ DBA ~] # Su-Oracle
[Oracle @ DBA ~] $/Mnt/runinstaller
Starting Oracle universal installer...
Checking installer requirements...
Checking operating system version: Must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle universal installer from/tmp/OraInstall2013-04-07_04-05-41PM. Please wait... [Oracle @ DBA ~] $ Exception in thread "Main" Java. lang. unsatisfiedlinkerror:/tmp/OraInstall2013-04-07_04-05-41PM/JRE/1.4.2/lib/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)
At java. Lang. classloader. loadlibrary (unknown source)
At java. Lang. runtime. loadlibrary0 (unknown source)
At java. Lang. system. loadlibrary (unknown source)
At sun. Security. Action. loadlibraryaction. Run (unknown source)
At java. Security. accesscontroller. doprivileged (native method)
At sun. AWT. nativelibloader. loadlibraries (unknown source)
At sun. AWT. debughelper. <clinit> (unknown source)
At java. AWT. component. <clinit> (unknown source)
[Oracle @ DBA ~] $
Check and find fewer libxp packages
Switch to the root account and install and change the yum package:
[Root @ localhost/] # Yum install libxp
After installation:
[Root @ localhost/] # rpm-Qa | grep libxp
LibXpm-devel-3.5.5-3
LibXpm-3.5.5-3
LibXp-1.0.0-8.1.el5
[Root @ localhost/] #
Then run the xhost + command to switch to the Oracle user and re-run the installer runinstaller to solve the problem.