Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle 10g (release1), AIX, Pro-COBOL, Problems building sample programs
Quilpole <vishnu_at_magicinterface.com> wrote:
> I have an Oracle 10g (release 1) database running on an IBM p520
> running AIX 5.3, with the appropriate MicroFocus COBOL compiler
> installed.
>
> I am trying to compile the first of the sample programs in the
> .../precomp/demo/procob2 directory.
>
[...]
> Could not load program /usr/lpp/cobol/bin/rts32_t:
> Dependent module libcobrts_t.2.so could not be loaded.
> Could not load module libcobrts_t.2.so.
> System error: No such file or directory
[...]
> When I check for the files mentioned (with the ls command) :-
>
> # ls -l /usr/lpp/cobol/lib/libcobrts_t.2.so
> -r-xr-xr-x 1 root system 1141066 Mar 20 2003
> /usr/lpp/cobol/lib/libcobrts_t.2.so
>
> # ls -l /usr/lpp/cobol/bin/rts32_t
> -r-xr-xr-x 1 root system 3870 Mar 20 2003
> /usr/lpp/cobol/bin/rts32_t
[...]
> I suspect that the problem is probably environmental, as I am able to
> build the MicroFocus demo programs with no problems. However, The
> LD_LIBRARY_PATH variable seems to be correct, and I'd thought this was
> where it should be looking for the "so" file, no?
There is no LD_LIBRARY_PATH in AIX, I guess that you mean LIBPATH.
To see why libcobrts_t.2.so cannot be loaded, try
ldd /usr/lpp/cobol/bin/rts32_t
and
ldd /usr/lpp/cobol/lib/libcobrts_t.2.s
Yours,
Laurenz Albe
Received on Thu Feb 02 2006 - 10:40:54 CST