DB2 - Problem description
Problem IT19572 | Status: Closed |
DB2IPRUNE and DB2_INSTALL FAIL WITH LIBIBMC++.SO.1: CANNOT OPEN SHARED OBJECT FILE | |
product: | |
DB2 FOR LUW / DB2FORLUW / B10 - DB2 | |
Problem description: | |
APAR IT17230 "ADD LIBIBMC++.SO.1 32 BIT AND 64 BIT TO DB2 IMAGE FOR LINUX UBUNTU 16, SLES 12 AND RHEL 7 ON IBM Z SYSTEMS." fix is to include libibmc++.so.1 in the install image. With a DB2 version containing this APAR db2iuprune fails not finding the library libibmc++.so.1: /tmp/server_t/db2/linux390/utilities/db2iprune/db2iprune -r /tmp/db2server_t.prn -o /opt/IBM/db2/server_t -t /db2home/db2inst1/scripts/root_scripts/db2iprune.trc -l /db2home/db2inst1/scripts/root_scripts/db2iprune.log /tmp/server_t/db2/linux390/utilities/db2iprune/../../install/../ bin/db2usrinf: error while loading shared libraries: libibmc++.so.1: cannot open shared object file: No such file or directory /tmp/server_t/db2/linux390/utilities/db2iprune/../../install/../ bin/db2usrinf: error while loading shared libraries: libibmc++.so.1: cannot open shared object file: No such file or directory /tmp/server_t/db2/linux390/utilities/db2iprune/../../install/../ bin/db2usrinf: error while loading shared libraries: libibmc++.so.1: cannot open shared object file: No such file or directory /tmp/server_t/db2/linux390/utilities/db2iprune/db2iprune: line 95: [: -ne: unary operator expected db2_install can also fail with the same error | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 11.1 and Fix Pack 2 * **************************************************************** | |
Local Fix: | |
set LD_LIBRARY_PATH to point to the install image path that has the library included, example: /tmp/server_t/db2/linux390/install | |
available fix packs: | |
DB2 Version 11.1 Mod 2 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in DB2 Version 11.1 and Fix Pack 2 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 07.03.2017 23.06.2017 23.06.2017 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |