RHAS4 U8 安装oracle9i,遇到"Error: Can't find libjava.so" 报错
解决办法如下:
| Subject: | Oracle Universal Installer (OUI) Reports "Error: Can't find libjava.so" When Installing Oracle 9.2.0.4 on Red Hat 4.0 x86-64 (AMD64/EM64T) | |||
| Doc ID: | 416530.1 | Type: | PROBLEM | |
| Modified Date : | 22-MAR-2007 | Status: | MODERATED | |
In this Document
Symptoms
Changes
Cause
Solution
| This document is being delivered to you via Oracle Support'sRapid Visibility(RaV) process, and therefore has not been subject to an independent technical review. |
Applies to:
Oracle Server - Enterprise Edition - Version: 9.2.0.4.0
Red Hat Enterprise Linux Advanced Server x86-64 (AMD Opetron Architecture)
Linux x86-64
Symptoms
You are trying to start the Oracle Universal Installer (OUI) to install Oracle 9.2.0.4 on Red Hat 4.0 x86-64 (AMD64/EM64T) and receive the following error:
Error: can't find libjava.so
Changes
This is a new installation
Cause
You are trying to install Oracle 9.2.0.4 32-bit (x86) on RedHat 4.0 x86-64, which is not certified. Check the 'Certify' section of Metalink for confirmation of this.
You can verify the 9.2.0.4 version by checking the Java version under the staging area
Oracle 9.2.0.4 32-bit
The Java version used with Oracle 9.2.0.4 32-bit is 1.3.1:
./stage/Components/oracle.swd.jre/1.3.1.0.0/1/DataFiles/Expanded/jre/linux/bin/java
[stage]$ ./Components/oracle.swd.jre/1.3.1.0.0/1/DataFiles/Expanded/jre/linux/bin/java -version
Error: can't find libjava.so.
Oracle 9.2.0.4 64-bit
The Java version used with Oracle 9.2.0.4 64-bit is 1.4.2:
[stage]$ ./Components/oracle.swd.jre/1.4.2.0.0/1/DataFiles/Expanded/jre/bin/java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
Solution
You need to install either:
- Oracle 9.2.0.4 x86 (32-bit) on Red Hat 4.0 x86 (32-bit), or
- Oracle 9.2.0.4 x86-64 (64-bit) on Red Hat 4.0 x86-64 (64bit)

本文解决了在RHAS4U8上安装Oracle9i时出现的Error:Can'tfindlibjava.so的问题。该问题源于尝试在不支持的64位系统上使用32位Java版本。解决方案为确保安装环境匹配。
1万+

被折叠的 条评论
为什么被折叠?



