For Programmers: Free Programming Magazines  


Home > Archive > Cobol > December 2005 > Re: loading oracle libraries (relinked with cob -z...) gives runtime error 198 or &qu









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: loading oracle libraries (relinked with cob -z...) gives runtime error 198 or &qu
Steve Rainbird

2005-12-17, 6:55 pm

"Simon Tobias" <Simon.Tobias@nospam.microfocus.com> wrote in message
news:dnuv1p$tap$1@hyperion.microfocus.com...
> Hi Sabine,
>
> Just to summarise, the problem you're seeing is down to shared objects
> provided by Oracle containing unresolved symbols. When we attempt to load
> your newly built shared object, we get a load error , hence the RTS198.
>
> Oracle will either need to correct those errors, or provide an updated
> list of libraries to link in (i.e. an updated makefile for under
> $ORACLE_HOME/precomp/lib) to resolve those symbols.
>
> As to why the executable doesn't encounter these errors, you'd probably be
> better off posting on the COBOLPortal forum at http://www.cobolportal.com
> ...
>
> SimonT.
>


We have just come across a similar problem. We are migrating from HP-UX to
LINUX (red hat) and get a 198 on the Linux box that we did not get on the
HP.

It seems to be a problem with circular references.

Library a uses a function in library b and vice versa. This works perfectly
using executables and cobrun on the HP but in Linux only the executables
work we get a 198 when the program starts using cobrun (both libraries are
called using INITCALL).

--
Steve

Remove "nospam" from email address to reply to me personally


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com