Created On:  2010-04-22

Problem:


In a linux server, ACUCOBOL-GT runtime has to be relinked to Oracle libraries so that Acu4GL can work properly.
Only shared libraries version of runtime can be linked with Oracle (or other databases).

At the end of the relink process it’s common to get this error running the new runtime:
oracle@linux:/usr/acu812/lib> ./runcbl -vv
./runcbl: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory

 

Resolution:

To provide to runtime all the libraries it needs to work, an environment variable called LD_LIBRARY_PATH must be set.
It shall contain the full path to ACUCOBOL-GT LIB directory and the full path to Oracle LIB directory.

This is an example of how to set this variable:
Export LD_LIBRARY_PATH=/usr/acu812/lib:/usr/app/oracle/product/11.2.0/client_1/lib:$LD_LIBRARY_PATH

Note: it is highly suggested to add $LD_LIBRARY_PATH at the end of the string, so that no previous value of this variable will be lost.


 

Incident #2448873