missing cobdb264 library

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

Tags:

Parents
  • Thank you, Tony

    I will try those DEBUG instructions from you.  meanwhile I did a directly search on the system drive:

    sudo find /opt -name cobdb264.so

    I found :

    /opt/microfocus/VisualCOBOL/lib/cobdb264.so

    Formerly I treated it as libcobdb264.so or libSomeThing.so, just like regular library. I went to the wrong direction and cannot find it.

    As you pointed out -- it is a COBOL loadable module. rather than a standard c/c library. now it makes more sense to me.

    Thank you again for solving all the puzzles here.

    -Jack

Reply
  • Thank you, Tony

    I will try those DEBUG instructions from you.  meanwhile I did a directly search on the system drive:

    sudo find /opt -name cobdb264.so

    I found :

    /opt/microfocus/VisualCOBOL/lib/cobdb264.so

    Formerly I treated it as libcobdb264.so or libSomeThing.so, just like regular library. I went to the wrong direction and cannot find it.

    As you pointed out -- it is a COBOL loadable module. rather than a standard c/c library. now it makes more sense to me.

    Thank you again for solving all the puzzles here.

    -Jack

Children
No Data