IBM Support

IZ24430: MFCOBOL APPLICATION FAILS ON HP 64 BIT PLATFORM WITH ERROR OF "C AN'T FIND LIBRARY OR MISMATCHED ABI FOR -LDB2"

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The sample application in the sqllib/samples/cobol_mf/
    directory use a bldapp script directory to compile and to link.
    This bldapp is separate for each platform. The HP bldapp does
    not have the code to link the library based on the OS bit,
    hence  Mfcobol applications running on HP 64 bit receive the
    following error :
    ld: Can't find library or mismatched ABI for -ldb2
    Fatal error.
    

Local fix

  • The following changes are made in sqllib/samples/cobol_mf/bldapp
     script :
    1. Change the value of 'bitwidth' variable from 32 to 64 ibit.
    2. Comment the line 'bitwidth=32'
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 v91 / HPIPF 64                                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The sample application in the sqllib/samples/cobol_mf/       *
    *                                                              *
    * directory use a bldapp script directory to compile and to    *
    * link.                                                        *
    * This bldapp is separate for each platform. The HP bldapp     *
    * does                                                         *
    * not have the code to link the library based on the OS bit,   *
    *                                                              *
    * hence  Mfcobol applications running on HP 64 bit receive the *
    *                                                              *
    * following error :                                            *
    * ld: Can't find library or mismatched ABI for -ldb2           *
    * Fatal error.                                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to db2 v91fp6                                        *
    ****************************************************************
    

Problem conclusion

  • The following changes are made in sqllib/samples/cobol_mf/bldapp
    script :
    
    1. Change the value of 'bitwidth' variable from 32 to 64 ibit.
     2. Comment the line 'bitwidth=32'
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ24430

  • Reported component name

    DB2 UDB ESE HP-

  • Reported component ID

    5765F4103

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-06-13

  • Closed date

    2009-06-05

  • Last modified date

    2009-06-05

  • 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 UDB ESE HP-

  • Fixed component ID

    5765F4103

Applicable component levels

  • R910 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
05 June 2009