Maison >base de données >tutoriel mysql >Oracle 10g安装报i386/libawt.so: libXp.so.6: cannot open shared
操作系统: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.
at java.awt.Component.
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的,一定要检查仔细:)