Unanswered: Error in libdb2.so file on HP-UX 11.31
We have installed DB2 V9.7 on HP-UX 11.31 server. We are trying to prepare a COBOL runtime utility 'rtsdb2' that e use to run our COBOL(with embedded sql) gnts. Now when we compiled the COBOL programs,the embedded sql programs gt replaced with function calls like sqlgstrt,sqlgoptions etc. To access these functions we had to use the library libdb2.so. But we are unable to prepare rtsdb2 successfully . it gives the error Execution Error : file ''
error code : 114, pc=0, call=-1. seg=0
114 Attempt to access item beyond bounds of memory (Signal 11)Now i gave the command ld /opt/IBM/db2/V9.7/lib64/libdb2.so on my HP-UX server and it gennerated a a.out file. If i try to execute this file,it gives me Memory Fault(coredump) error . Can any1 shed some light on this ? We need to sort this issue urgently. Thanks in advance ....