Skip to content

Loading of libdb2.so is giving issue if IBM DB2 11.1 and 11.5 is installed on single machine #112

@hsc2013

Description

@hsc2013

Hi, Loading of libdb2.so is giving issue if IBM DB2 11.1 and 11.5 is installed on single machine. Below is the error which we are getting.

./testInstance
getenv : db2inst1
The dlopen lib path is /opt/ibm/db2/V11.5/lib64/libdb2.so
Call to sqlegins_api
The current local instance name is: db2inst1
Call to db2DbDirOpenScan
Call to db2DbDirGetNextEntry
Call to db2DbDirCloseScan
The database name : test1
Test end!

getenv : db2inst3
The dloen lib path is /opt/ibm/db2/V11.1/lib64/libdb2.so
Call to sqlegins_api
./testInstance: symbol lookup error: /opt/ibm/db2/V11.1/lib64/libdb2.so: undefined symbol: ossSnprintf

We can see that no issue is with 11.5 but 11.1 is giving issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions