zoukankan      html  css  js  c++  java
  • 安装oracle 10g遇到cannot open shared object file这个错误以及解决方法

    安装oracle 10g遇到cannot open shared object file这个错误以及解决方法


    [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 ~]$



    检查后发现少libXp包

    切换到root账号,yum安装改包:

    [root@localhost /]# yum install libXp


    安装完成之后:

    [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 /]#



    然后执行xhost+命令,切换到oracle用户重新运行安装程序runInstaller, 问题解决



  • 相关阅读:
    HDU 2089 不要62
    HDU 5038 Grade(分级)
    FZU 2105 Digits Count(位数计算)
    FZU 2218 Simple String Problem(简单字符串问题)
    FZU 2221 RunningMan(跑男)
    FZU 2216 The Longest Straight(最长直道)
    FZU 2212 Super Mobile Charger(超级充电宝)
    FZU 2219 StarCraft(星际争霸)
    FZU 2213 Common Tangents(公切线)
    FZU 2215 Simple Polynomial Problem(简单多项式问题)
  • 原文地址:https://www.cnblogs.com/javawebsoa/p/3006036.html
Copyright © 2011-2022 走看看