所需程序包的版本(或更高版本):
- gcc-3.2.3-2
- make-3.79
- binutils-2.11
- openmotif-2.2.2-16
- setarch-1.3-1
- compat-gcc-7.3-2.96.122
- compat-gcc-c++-7.3-2.96.122
- compat-libstdc++-7.3-2.96.122
- compat-libstdc++-devel-7.3-2.96.122
- compat-db-4.0.14.5(Oracle 10g 数据库安装指南 中将其列为是必需的,但此处并不需要)
在安装compat-libstdc++-7.3-2.96.122时,出现如下错误时,
Preparing... ########################################### [100%]
file /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so from install of compat-libstdc++-8-3.3.4.2.i386 conflicts with file from package compat-libstdc++-296-2.96-138.i386
file /usr/lib/libstdc++.so.5.0.7 from install of compat-libstdc++-8-3.3.4.2.i386 conflicts with file from package compat-libstdc++-33-3.2.3-61.i386
通过rpm -qa | grep -i compat-libstdc++查询与之冲突的包,然后rpm -e compat-libstdc++-296-2.96-138将其卸载,然后重新安装。
如果出现如下错误,warning: compat-gcc-c++-8-3.3.4.2.i386.rpm.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
compat-libstdc++-devel = 8 is needed by compat-gcc-c++-8-3.3.4.2.i386
通过添加如下参数解决,rpm -ivh compat-gcc-c++-8-3.3.4.2.i386.rpm.rpm --force --nodeps