IBM Support

DB2 install unable to find libstdc++.so.5

Troubleshooting


Problem

DB2 install attempt fails with the following: 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.5    http://www.ibm.com/software/data/db2/udb/sysreqs.html    http://www.software.ibm.com/data/db2/linux/validate  /DB2V95/db2/linuxamd64/install/../bin/db2usrinf: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory /DB2V95/db2/linuxamd64/install/db2setup: line 101: [: -ne: unary operator expected /DB2V95/db2/linuxamd64/install/../bin/db2langdir: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory /DB2V95/db2/linuxamd64/install/../bin/db2langdir: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory DBI1055E The message file db2install.cat cannot be found.

Symptom

DB2 install fails trying to find libstdc++.so.5

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Install\/Migrate\/Upgrade - Database","Platform":[{"code":"PF016","label":"Linux"}],"Version":"9.5;9.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
01 May 2025

UID

swg21384354