I located the following error message in the /sqllib/db2dump/db2diag.log file:
"liboops.so: cannot open shared object file: no such file or directory"
liboops.so (& other MF Program library files & archives) is in directory
/opt/lib/cobol/coblib
The whole problem was resolved by creating symbolic links from /usr/lib to /opt/lib/cobol/coblib for all .a and .so files in opt/lib/cobol/coblib, but given I think I have all the correct environment variables set - to point to the correct shared libraries - what else needs to be done so that the symbolic links don't have to be created?
Environment variables that are set:
For my DB2 instance, I have exported
COBDIR=/opt/lib/cobol
&
LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH:$COBDIR/coblib
For my DB2 instance, I have
db2set DB2LIBPATH=$LD_LIBRARY_PATH
&
db2set DB2ENVLIST="PATH LD_LIBRARY_PATH COBDIR"
John