Libstdc ++. so.5 problems in Linux AS 5 installation of DB2-Express C

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.