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.