IBM Support

IT30106: ERROR WHILE LINKING WITH LIBDB2O.SO

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error 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
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 CLI users using libdb2o library.                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 11.1.4.5                              *
    ****************************************************************
    

Problem conclusion

  • This is fixed in DB2 v11.1 M4FP5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT30106

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-08-28

  • Closed date

    2020-02-23

  • Last modified date

    2020-02-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DB2 CONNECT

  • Fixed component ID

    DB2CONNCT

Applicable component levels

  • RB50 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z\/OS"}],"Version":"11.1"}]

Document Information

Modified date:
02 September 2021