From: Kirill Latyshev <latyshev@gmx.net>
Subject: Pro*C to generate shared library
Date: 2000/08/08
Message-ID: <8mpstm$gt9$1@nnrp1.deja.com>#1/1
X-Http-Proxy: 1.0 PEPSI, 1.0 x55.deja.com:80 (Squid/1.1.22) for client 139.126.32.100
Organization: Deja.com - Before you buy.
X-Article-Creation-Date: Tue Aug 08 21:09:12 2000 GMT
X-MyDeja-Info: XMYDJUIDlatyshev
Newsgroups: comp.databases.oracle.tools
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)


 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.


