Pro*C to generate shared library

From: Kirill Latyshev <latyshev_at_gmx.net>
Date: 2000/08/08
Message-ID: <8mpstm$gt9$1_at_nnrp1.deja.com>#1/1


 Hello!

I'm creating a database plug-in for Netscape Directory Server. I'm using Oracle Pro*C to generate database-related code. I've created a sample program and it's working OK. To create a plug-in I need to generate a shared library with functions of my own. When I creating a library and staticaly put all the Oracle libraries in to it (using 'ld' and Oracle macros STATICPROLDLIBS), it gives a 8Mb piece of code, Netscape couldn't load such a big library. When I use PROLDLINS macros, I'm getting a much smaller code, but during it's execution it produces errors like ORA-12154 or 12545 in the first line with executable SQL statment, and I believe that this is due to the lack of staticaly linked Oracle libraris. Situation seems unresolvable for me :-( ...
Is it possible to make it work?

--
Thank you!
Kirill Latyshev


Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Tue Aug 08 2000 - 00:00:00 CEST

Original text of this message