When installing oracle10g, libXp. so.6: cannot open shared object file, export dobject

Source: Internet
Author: User

When installing oracle10g, libXp. so.6: cannot open shared object file, export dobject

 

The following error occurs when installing oracle10g:

[oracle10@rac1 clusterware]$ ./runInstaller ********************************************************************************Please run the script rootpre.sh as root on all machines/nodes. The script can be found at the toplevel of the CD or stage-area. Once you have run the script, please type Y to proceedAnswer 'y' if root has run 'rootpre.sh' so you can proceed with Oracle Clusterware installation.Answer 'n' to abort installation and then ask root to run 'rootpre.sh'.********************************************************************************Has 'rootpre.sh' been run by root? [y/n] (n)yStarting 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                                      PassedAll installer requirements met.Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-10-10_05-33-17PM. Please wait ...[oracle10@rac1 clusterware]$ Oracle Universal Installer, Version 10.2.0.1.0 ProductionCopyright (C) 1999, 2005, Oracle. All rights reserved.Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-10-10_05-33-17PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-10-10_05-33-17PM/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)        at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)        at oracle.sysman.oii.oiic.OiicInstaller.getInterfaceManager(OiicInstaller.java:436)        at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:926)        at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)Exception in thread "main" java.lang.NoClassDefFoundError        at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)        at oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:151)        at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:984)        at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)


Lib is indeed missing:

Lib missing for installation:

[root@rac1 Packages]# rpm -ivh libXp-1.0.0-15.1.el6.libXp-1.0.0-15.1.el6.i686.rpm    libXp-1.0.0-15.1.el6.x86_64.rpm  [root@rac1 Packages]# rpm -ivh libXp-1.0.0-15.1.el6.i686.rpm warning: libXp-1.0.0-15.1.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEYerror: Failed dependencies:        libX11.so.6 is needed by libXp-1.0.0-15.1.el6.i686        libXau.so.6 is needed by libXp-1.0.0-15.1.el6.i686        libXext.so.6 is needed by libXp-1.0.0-15.1.el6.i686[root@rac1 Packages]# rpm -ivh libXp-1.0.0-15.1.el6.i686.rpm --nodepswarning: libXp-1.0.0-15.1.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEYPreparing...                ########################################### [100%]   1:libXp                  ########################################### [100%][root@rac1 Packages]# rpm -ivh libXp-1.0.0-15.1.el6.x86_64.rpm warning: libXp-1.0.0-15.1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEYPreparing...                ########################################### [100%]   1:libXp                  ########################################### [100%][root@rac1 Packages]# 


Re-install:

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-10-10_05-41-01PM/jre/1.4.2/lib/i386/libawt.so: libXt.so.6: cannot open shared object file: No such file or directory occurred..java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-10-10_05-41-01PM/jre/1.4.2/lib/i386/libawt.so: libXt.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)        at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)        at oracle.sysman.oii.oiic.OiicInstaller.getInterfaceManager(OiicInstaller.java:436)        at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:926)        at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)Exception in thread "main" java.lang.NoClassDefFoundError        at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)        at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)        at oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:151)        at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:984)        at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)[root@rac1 Packages]# 


Continue to install the required lib:

[root@rac1 Packages]# rpm -ivh libXt-1.1.3-1.el6.i686.rpm --nodepswarning: libXt-1.1.3-1.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEYPreparing...                ########################################### [100%]   1:libXt                  ########################################### [100%][root@rac1 Packages]# 

Note: fill in the missing items

The execution is normal again.


Redhat enterprise 62 64-bit oracle10g installation problem, Solution

Is the oracle10g you downloaded not 64-bit? The installation version must be consistent with the operating system.

Error in compiling code when installing kernel in Ubuntu1210: cannot open shared object file: no such file or directory

Here is a simple solution:
$ Sudo apt-get install lib32ncurses5 ia32-libs

I personally tested it. OK.
 

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.