DB2 errors during Blueworx Voice Response Version 6.1 installation

Multiple DB2 DBI1087E errors are reported in smit.log during the Blueworx Voice Response 6.1 (6.1.0.0) base installation. The installp may have reported SUCCESS on all the filesets, but the following database setup (DTdatabase) may fail.

DBI1087 errors are logged in the smit.log file for DB2 links in /usr/include and /usr/lib directories. The error messages are like:
DBI1087E  An attempt to create the link /usr/include/asn.h failed.
...
DBI1087E  An attempt to create the link /usr/lib/libdb2.a failed.

The cause of the problem is that previously Blueworx Voice Response 4.2 was installed, and the installation program for Blueworx Voice Response Version 6.1 failed to create links for DB2 V9.5.

Both /usr/include and /usr/lib directories still have the DB2 links connecting to files from DB2 V8.1. For example, the problem system will have the command output like:
cd /usr/include
ls -l asn.h
lrwxrwxrwx    1 root     system    <date>  asn.h -> /usr/opt/db2_08_01/include64/asn.h

To resolve the problem:

  1. Login to the system as root.
  2. Remove the links for DB2 V8.1 using the command:
    /usr/opt/db2_08_01/cfg/db2rmln
  3. Create the links for DB2 V9.5 using the command:
    /opt/IBM/db2/V9.5/cfg/db2ln
  4. Check the links:
    # ls -l /usr/lib/libdb2.a
    

    It should now link to /opt/IBM/db2/V9.5/lib64/libdb2.a

    # ls -l /usr/include/asn.h
    
    It should now link to /opt/IBM/V9.5/include/asn.h.
  5. Reboot the system then continue the installation.