DB2 - Problem description
Problem IT30106 | Status: Closed |
ERROR WHILE LINKING WITH LIBDB2O.SO | |
product: | |
DB2 CONNECT / DB2CONNCT / B10 - DB2 | |
Problem description: | |
This is the output when using DSDRIVER/ODBC driver: g++ -DODBC64 -I./dsdriver/odbc_cli_driver/linuxamd64/clidriver/include -L./dsdriver/odbc_cli_driver/linuxamd64/clidriver/lib -ldb2o odbc-insert.cpp -o insert-into ./dsdriver/odbc_cli_driver/linuxamd64/clidriver/lib/libdb2o.so: undefined reference to `sqlegdgt_api' ./dsdriver/odbc_cli_driver/linuxamd64/clidriver/lib/libdb2o.so: undefined reference to `sqlegins_api' ./dsdriver/odbc_cli_driver/linuxamd64/clidriver/lib/libdb2o.so: undefined reference to `sqlegdcl_api' ./dsdriver/odbc_cli_driver/linuxamd64/clidriver/lib/libdb2o.so: undefined reference to `sqlegdsc_api' collect2: error: ld returned 1 exit status gmake: *** [Makefile:3: all] Error 1 compiliation of an ODBC application with libdb2o.so is failing with following linking errors. It is failing in both DSDriver and instance based clients. This is the output from the instance vased client: g++ -DODBC64 -I/home/db2inst1/sqllib/include -I./thirdparty/sqllib/include -L/home/db2inst1/sqllib/lib -ldb2o odbc-insert.cpp -o insert-into /home/db2inst1/sqllib/lib/libdb2o.so: undefined reference to `sqlhaEventSequenceInitializeForActor(ROCM_ACTOR*)' collect2: error: ld returned 1 exit status gmake: *** [Makefile:2: all] Error 1 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * DB2 CLI users using libdb2o library. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 11.1.4.5 * **************************************************************** | |
Local Fix: | |
Solution | |
Workaround | |
**************************************************************** * USERS AFFECTED: * * DB2 CLI users using libdb2o library. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 11.1.4.5 * **************************************************************** | |
Comment | |
This is fixed in DB2 v11.1 M4FP5. | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 28.08.2019 23.02.2020 23.02.2020 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |