Created On:  10 October 2011

Problem:

From v9.0 onwards there is no requirement to link the Runtime System in Acu4GL for Oracle.

Resolution:

It will pick up the file automatically (making life MUCH easier). You need to check to see if the files required by Acu4GL/Oracle are present. You can do this with the command: "ldd coba4ora64.so" for example or "ldd coba4ora32.so" in the 32 bit environment.

Example machine, check the following:

/lib directory > export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
/lib directory> ls *ora*
coba4ora64.so Makefile.ora
/lib directory> ldd coba4ora64.so
libfsi264.so => ./libfsi264.so (0x00002b410d66e000)
libaxml64.so => ./libaxml64.so (0x00002b410d788000)
libacvt64.so => ./libacvt64.so (0x00002b410d8c9000)
libaregex64.so => ./libaregex64.so (0x00002b410d9dd000)
libvision64.so => ./libvision64.so (0x00002b410dadf000)
libacme64.so => ./libacme64.so (0x00002b410dc22000)
libcobacme64.so => ./libcobacme64.so (0x00002b410dd7e000)
libclntsh.so => not found
libc.so.6 => /lib64/libc.so.6 (0x00002b410de9c000)
libm.so.6 => /lib64/libm.so.6 (0x00002b410e0dd000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b410e232000)
/lib64/ld-linux-x86-64.so.2 (0x0000555555554000)

For example the missing file here is libclntsh.so which is the Oracle client library which you get from Oracle. As a reference, my setup on sd-dev.microfocus.com for 9.0.1 returns:

$ ldd coba4ora32.so
linux-gate.so.1 => (0xffffe000)
libfsi2.so => ./libfsi2.so (0xf7f38000)
libaxml.so => ./libaxml.so (0xf7ef9000)
libacvt.so => ./libacvt.so (0xf7ee2000)
libaregex.so => ./libaregex.so (0xf7ede000)
libvision.so => ./libvision.so (0xf7e90000)
libacme.so => ./libacme.so (0xf7e33000)
libcobacme.so => ./libcobacme.so (0xf7e30000)
libclntsh.so => /home/john/database/oracle/client/bin/libclntsh.so (0xf7035000)
libc.so.6 => /lib/libc.so.6 (0xf6edb000)
libm.so.6 => /lib/libm.so.6 (0xf6eb2000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf6e99000)
libnnz10.so => /home/john/database/oracle/client/bin/libnnz10.so (0xf6c93000)
libdl.so.2 => /lib/libdl.so.2 (0xf6c8e000)
libnsl.so.1 => /lib/libnsl.so.1 (0xf6c74000)
/lib/ld-linux.so.2 (0x0085f000)
$ ../bin/runcbl -vv
Micro Focus extend runtime version 9.0.2 Alpha (2011-06-09)
Serial number real
Licensed for 50 user(s)
AcuServer client
Vision version 5 file system (interface v9.0.2 Alpha (2011-05-03))
Acu4GL ORACLE/OCI file system (interface v9.0.2 Alpha (2011-06-09))
XML version expat_2.0.0 file system (interface v9.0.2 Alpha (2011-05-03))
RMFM version 12 file system (interface v9.0.2 Alpha (2011-05-03))
Copyright (C) 1985-2010 Micro Focus (IP) Ltd.
Configuration: UNIX, IA-32
Incident #2532912