Installing Oracle 10 Gb has encountered the cannot open shared object file error and Solution

Source: Internet
Author: User

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.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.