I copied MF sample DB2 SQL project: Connect project from Windows to RedHat, try to recompile it under Linux.
I got this error:
[cobollink] cob64 -g -x -t -oConnect Connect.o /opt/ibm/db2/V11.1/lib64/libdb2.so
[cobollink] Connect.o: In function `CONNECT_MFSQLECM-INIT':
[cobollink] /home/cobol/sql/db2ecm/Connect/Connect.cbl:129: undefined reference to `cobdb264'
[cobollink] collect2: error: ld returned 1 exit status
[cobollink] Link complete with errors
Could someone tell me which library should I link to find cobdb264?
Thanks in advance,
-Jack