您的位置:首页 > 其它

redhat5.4-64位安装DB2V9.1

2015-01-19 09:02 351 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: