GNUCOBOL with embedded sql runtime error : module 'OCESQLConnect' not found

0

I am currently trying to run a cobol pgm with embedded sql that calls database in postgresql. I am running (GnuCOBOL) 2.2.0 on cygwin.

I have followed steps in https://github.com/opensourcecobol/Open-COBOL-ESQL. I manage to exec all steps. However, when i run the pgm i get OCESQL Connect not found as following : $ ./INSERTTBL * INSERTTBL STARTED * libcob: module 'OCESQLConnect' not found

I suspect it's libocesql.so not created in /usr/local/lib during 'make install' but I am not sure why it's not created. Hence I can;t add into env >> export COB_PRE_LOAD=/usr/local/lib/libocesql.so . For ld library, i have added under export LD_LIBRARY_PATH=/usr/local/lib.

Thanks.

Shooter

Posted 2019-09-13T07:49:19.297

Reputation: 1

No answers