重庆思庄Oracle、Redhat认证学习论坛

标题: linux安装oracle 执行runInstaller提示cannot open shared object file [打印本页]

作者: 王亮    时间: 2021-1-24 16:35
标题: linux安装oracle 执行runInstaller提示cannot open shared object file

在 CENTOS7.6 64位上安装12C时报错:
[oracle@localhost database]$ ./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/OraInstall2020-07-13_03-19-26PM. Please wait ...[oracle@localhost database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstalll2020-07-13_03-19-26PM/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)

这个错误是缺少 libXp  32位包所导致的,安装就就不会出问题了。
yum -y install libXp.i686

另外还有一个原因则有可能是安装包的原因,有可能解压的安装包与操作系统不符。






欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2