IBM Support

IC96215: CLIDRIVER AND DSDRIVER NOT WORKING ON HP PLATFORM :ERROR "SHARED LIBRARY NOT FOUND 'LIBDB2.SO'"

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The instance less clients clidriver and dsdriver throws "shared
    library not found" error on HP platform for libdb2.so library.
    When we execute db2support or db2trc or db2cli command, we get
    this error as below:
    
    The libdb2.so library file exists at
    <install_dir>/lib/libdb2.so. But, commands are unable to find
    it. The shared library search paths is set to point
    <install_dir>/lib directory.
    
    The problem seems like the system does not search for the shared
    library in the search path set above. If we run
    db2support/db2trc/db2cli inside the directory
    /export/home/dbguest3/sqllib/lib, they it works fine. ( could be
    because the current directory is on the search path), but if I
    run the commands from anywhere else, it throws the 'shared
    library not found' error. So it seems like it doesn't search in
    the path defined in SHLIB_PATH and LD_LIBRARY_PATH.
    

Local fix

  • Run the command from <install_dir>/lib directory.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * users installing dsdriver/clidriver on HP                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 v97fp9                                        *
    ****************************************************************
    

Problem conclusion

  • DB2 v97fp9 contains this fix.No library issues will be seen on
    using db2cli,db2support,db2trc etc
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC96215

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-25

  • Closed date

    2013-12-16

  • Last modified date

    2013-12-16

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

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

    IC96695 IC97841

Fix information

  • Fixed component name

    DB2 CONNECT

  • Fixed component ID

    DB2CONNCT

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC96215

Modified date: 16 December 2013