redhat5.4-64位安装DB2V9.1

本文介绍了解决IBM DB2数据库安装过程中遇到的缺失libstdc++.so.5库的问题,通过更新yum源并安装所需的库文件最终满足了DB2的安装条件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1.检查安装条件 

[$]./db2prereqcheck

结果如下:

ERROR: 
   The required library file libstdc++.so.5 is not found on the system. 
   Check the following web site for the up-to-date system requirements
   of IBM DB2 9
   http://www.ibm.com/software/data/db2/udb/sysreqs.html
   http://www.software.ibm.com/data/db2/linux/validate  

2.安装libstdc++.so.5库

[$]yum install compat-libstdc++-33

结果如下:

Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package compat-libstdc++-33 available.
Nothing to do

3.RHN(RedHat Network没有注册),需要更新yum源

[$] cd /etc/yum.repos.d/
[$] wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
[$] mv rhel-debuginfo.repo rhel-debuginfo.repo.bk
[$] mv CentOS-Base.repo rhel-debuginfo.repo
[$] rhel-debuginfo.repo


4.[$]yum install compat-libstdc++-33


5.最后再检查一遍是否可以

[$]./db2prereqcheck



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值