重拾安装oracle

 

所需程序包的版本(或更高版本):

  • 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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值