DB2 - Problem description
Problem IC69776 | Status: Closed |
REMOVE DEPENDENCY ON LIBSTREAM.SO FROM LIBDB2.SO | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
There are two different C++ libraries. One is classic (older one). The other is standard (newer one). Per HP, no executable should be dependent on both libraries. HP warns that the result of mixing them includes unexpected failure. Although DB2 is built with the standard C++ library, it was found that libdb2.so, the client side library of DB2, is still linked with libstream.so, one of the classic C++ libraries. Through the fix for this APAR, libstream.so will be removed. Note that libdb2.so itself doesn't use any symbol from libstream.so. In other words, the warning posed by HP does not apply to DB2 itself. Important Note: If an application, which links with libdb2.so, somehow references any symbol in the classic C++ library, and if it had been accessing them via libdb2.so in the past, it won't be able to access them after applying the fix for this APAR. The correct action is to fix the application to remove any dependency on the classic C++ library. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Applications that run on HP platform and link with libdb2.so * **************************************************************** * PROBLEM DESCRIPTION: * * There are two different C++ libraries. One is classic * * (older * * one). The other is standard (newer one). Per HP, no * * executable * * should be dependent on both libraries. HP warns that the * * result * * of mixing them includes unexpected failure. * * * * * * * * Although DB2 is built with the standard C++ library, it was * * * * found that libdb2.so, the client side library of DB2, is * * still * * linked with libstream.so, one of the classic C++ libraries. * * * * Through the fix for this APAR, libstream.so will be removed. * * * * * * * * * * * * Note that libdb2.so itself doesn't use any symbol from * * * * libstream.so. In other words, the warning posed by HP does * * not * * apply to DB2 itself. * * * * * * * * Important Note: If an application, which links with * * libdb2.so, * * somehow references any symbol in the classic C++ library, * * and if * * it had been accessing them via libdb2.so in the past, it * * won't * * be able to access them after applying the fix for this APAR. * * * * The correct action is to fix the application to remove any * * * * dependency on the classic C++ library. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 9.7 Fixpack 3 or higher. * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 9.7 Fixpack 3. Assuming the customer's application is built correctly (i.e. no dependency on libstream.so), there will be no change. | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC69784 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 08.07.2010 16.09.2010 16.09.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP3 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.3 | |
9.7.0.3 |