Re: Problems using Oracle libraries from HP shared library

From: Lee D. Coller <lcoller_at_netcom.com>
Date: Mon, 19 Dec 1994 06:39:28 GMT
Message-ID: <lcollerD11p5s.FJH_at_netcom.com>


I've had this problem too. The problem is the Oracle has incorrectly
(according to HP) defined the entry points for orlon (and the other
functions in the libocic.a) as being of type "code" rather than type "entry." The official line from Oracle is that they don't support shared libraries because their code is not reentrant and this is why their function entry points are of type "code."

The HPUX assembly programming manual makes it clear that entry points should be of type "entry" and one of the other manuals on their CDROM
(I don't remember which one, and I'm writing this from home where I
don't have direct access to it) indicates that dld.sh requires the code entry points to be of type "entry."

One can fix this problem by writing a simple program which changes the type of the code entry points from "code" to "entry." Sorry, I can't give out the code I wrote to do this without getting permission, but It's not too difficult to write. Just search the libocic.a library from all defined symbols of type "code" and change the type to "entry." Do a "man a.out" to find out the format of the header for the object files.

As one may have gathered, Oracle's response wasn't too helpful, and in fact is incorrect.

-- 
Lee D. Coller					    lcoller_at_netcom.com
4762 191st St., Torrance, CA  90503-1412	     +1 (310) 371-0335
Received on Mon Dec 19 1994 - 07:39:28 CET

Original text of this message