An error occurred while installing DB2-Express C on Linux AS 5 with the following information:
/Usr/lib/libstdc ++. so.5 version CXXABI_1.2 not found (required by ....../bin/db2usrinf)
In some Linux versions, libstdc ++. so.5 does not exist, or is linked to/usr/lib64/libstdc ++. so.6.0.3, similar to libstdc ++. so.6.
I checked and found that libstdc ++. so.5 was linked to libstdc ++. so.6.0.8. Run the following command to check the CXXABI version:
$ Strings/usr/lib/libstdc ++. so.6.0.3 | grep CXXABI
CXXABI_1.3 // It is not CXXABI_1.2
The solution is to install the appropriate libstdc ++. so.5. I downloaded compat-libstdc ++-33-3.2.3-63.i386.rpm.
$ Rpm -- install -- force libstdc ++-33.3.2.3-63. i386.rpm
Then check:
$ Strings/usr/lib/libstdc ++. so.5 | grep CXXABI
CXXABI_1.2 // is a suitable version.
After installing Db2, no error is reported.
Reference: How to resolve oninit error:/lib64/libstdc ++. so.5: version 'cxxabi _ 1.2 not found
This article from the CSDN blog, reprinted please indicate the source: aspx "> http://blog.csdn.net/cnbird2008/archive/2010/09/30/5915813.aspx