安装数据库(DB2 9.7fp8)报错The required library file libstdc++.so.5 is not found on the system.
但是我已经安装这个组件了
报错信息:
[root@localhost server]# ./db2prereqcheck
WARNING:
The required library file libstdc++.so.5 is not found on the system.
WARNING:
DBT3534W The db2prereqcheck utility determined that ASLR is set to ON and that this could cause issues with some tools.
WARNING:
The 32-bit library file libpam.so is not found on the system.
Check the following web site for the up-to-date system requirements
of IBM DB2 9.7
http://www.ibm.com/software/data/db2/udb/sysreqs.html http://www.software.ibm.com/data/db2/linux/validate 执行命令:
root@localhost server]# yum install libstdc++.so.5
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package compat-libstdc++-33.i686 0:3.2.3-69.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================
Installing:
compat-libstdc++-33 i686 3.2.3-69.el6 rhel-source 189 k
Transaction Summary
=============================================================================================================================================================
Install 1 Package(s)
Total download size: 189 k
Installed size: 716 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : compat-libstdc++-33-3.2.3-69.el6.i686 1/1
Verifying : compat-libstdc++-33-3.2.3-69.el6.i686 1/1
Installed:
compat-libstdc++-33.i686 0:3.2.3-69.el6
Complete!
再检查
root@localhost server]# ./db2prereqcheck
WARNING:
The required library file libstdc++.so.5 is not found on the system.
WARNING:
DBT3534W The db2prereqcheck utility determined that ASLR is set to ON and that this could cause issues with some tools.
WARNING:
The 32-bit library file libpam.so is not found on the system.
Check the following web site for the up-to-date system requirements
of IBM DB2 9.7
http://www.ibm.com/software/data/db2/udb/sysreqs.html http://www.software.ibm.com/data/db2/linux/validate