Re: Shared Libraries?

From: Ken Denny <kedenny_at_mail.concentric.net>
Date: 1996/01/08
Message-ID: <4cs6ne$rvq_at_spectator.cris.com>#1/1


Stan Driggs <stan_at_ensco.com> wrote:
>Can anyone tell me if there is a shared version of the
>Oracle Pro*C libraries out now for AIX?
>
>We have Oracle 7.1.6.something, and each process that
>links in the embedded SQL libs gets an extra meg or so.
>I seem to remember talk of future versions of Oracle
>having shared libraries.
>
>Please e-mail any response since I don't wade through
>this group too often. (I still can't believe the proposal
>to split up the group was voted down.)
>
>TIA
>
>Stan
>
>----------------------------------------------------
>Stan Driggs ENSCO, Inc.
>Sr. Systems Engineer ISS Division
>Email: stan_at_ensco.com 1277 Taylor Rd.
>Voice: (607) 751-5502 Owego, NY 13827
>FAX : (607) 687-4733
We had the same problem at my site and finally got in touch with someone who may be the only person in Oracle support to know about this. This has to be the best kept secret in all of Oracle but here is what we found out.

There is a shared library $ORACLE_HOME/lib/liboracle.sl which can be used in place of all the .a libraries. Change the make file (proc.mk or proc16.mk) definition of PROLDLIBS to -l:liboracle.sl and watch the size of your executable go from 3M to 20K for small programs.

Caution. There is a kernel patch required before it will work on HP-UX, and there may be one required for your OS as well. Try it first and if it doesn't work, contact Oracle phone support and hopefully you'll get someone with a clue (don't count on it though) who can tell you if there is a patch required for your OS.

Good luck
Ken Denny
Insight Industries, Inc.
RTP, NC Any opinions expressed are my own and not those of my employer. Received on Mon Jan 08 1996 - 00:00:00 CET

Original text of this message