Home > Database > Mysql Tutorial > Oracle 10g安装报i386/libawt.so: libXp.so.6: cannot open shared

Oracle 10g安装报i386/libawt.so: libXp.so.6: cannot open shared

WBOY
Release: 2016-06-07 17:08:43
Original
1205 people have browsed it

操作系统:Red Hat Enterprise Linux Server release 5.4 (Tikanga) x86_64修改完系统相关配置,执行runInstaller时报错:

操作系统:Red Hat Enterprise Linux Server release 5.4 (Tikanga) x86_64

修改完系统相关配置,执行runInstaller时报错:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2007-12-21_10-40-21PM/jre/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(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.(DebugHelper.java:29)
at java.awt.Component.(Component.java:506)
at Oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)

metalink上说,安装libXp这个包就ok了。

安装后,,发现问题没有解决,又尝试安装了些乱七八糟的rpm包,同样不行。头都大了。后来才发现,原来libXp需要安装i386的包,而不能安装X64的包。我想当然的认为64位的linux需要安装64位的libXp包,所以导致这个问题。

其实认真的看报错的信息“/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory”应该也能想到i386的包上。

安装文档里软件包检查部分,每个包都可能是i386或者x64的,一定要检查仔细:)

linux

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template