IBM Support

GSKit tools of DB2 don't work anymore after updating GSKit used with SDS

Troubleshooting


Problem

If you update the SDS as well as GSKit packages, then the GSKit tools located in the DB2 directory <DB2_install_dir>/gskit/bin (e.g.: /opt/ibm/db2/V10.5/gskit/bin) may not work anymore.

Symptom

Depending on the operating system and installed GSKit and DB2 versions you may see library loading issues (as shown below) when launching the gskit tools from DB2 install location.
/opt/ibm/db2/V10.5/gskit/bin/gsk8capicmd_64
exec(): 0509-036 Cannot load program gsk8capicmd_64 because of the following errors:
rtld: 0712-001 Symbol set_value_IA5__16GSKASNCharStringFPcb was referenced
      from module gsk8capicmd_64(), but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol __ct__13GSKASNCBufferFv was referenced
      from module gsk8capicmd_64(), but a runtime definition
      of the symbol was not found.
...
or the gskit command may even core like this
/opt/ibm/db2/V10.5/gskit/bin/gsk8capicmd_64 -cert -list -db key.kdb -stashed
/opt/ibm/db2/V10.5/gskit/bin/gsk8capicmd_64: Symbol `_ZTV13GSKFastBuffer' has different size in shared object, consider re-linking
*** Error in `/opt/ibm/db2/V10.5/gskit/bin/gsk8capicmd_64': double free or corruption (out): 0x00007fcb698f5ed0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x740ef)[0x7fcb6841c0ef]
/lib64/libc.so.6(+0x79646)[0x7fcb68421646]
/lib64/libc.so.6(+0x7a393)[0x7fcb68422393]
/usr/lib64/libgsk8cms_64.so(gsk_free+0x19)[0x7fcb69707735]
/usr/lib64/libgsk8cms_64.so(_Z8gsk_freePvS_+0x24)[0x7fcb697079a0]
/usr/lib64/libgsk8cms_64.so(_ZN12GSKASNBufferD1Ev+0x39)[0x7fcb6954f355]
/usr/lib64/libgsk8cms_64.so(_ZN13GSKASNIntegerD1Ev+0x3d)[0x7fcb6954fa93]

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSVJJU","label":"IBM Security Directory Server"},"Component":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
15 August 2019

UID

ibm10967599