PRO*C 8.1.6 static link

From: Pascal Auger <Pascal.AugerGRRPHM_at_evidian.com>
Date: Tue, 10 Apr 2001 13:41:16 +0200
Message-ID: <9aurba$7pc1_at_tosca.bull.fr>


Hi,

I am porting a pro*c application from Oracle 7 to 8.1.6 and have some pbs with static linking which is essential fro my product.

In demo files delivered, dynamic linking works fine and static not.

There is a STATICPROLDLIBS defined in env_precomp.mk which is insufficient (undefined objects at link time). When I add required libs, paying attention to not include shared libs, link becomes Ok, but at runtime I can see I need some shared libs (libwtc8.so, for instance) which is included in STATICPROLDLIBS and which define objects needed by libclient8.a.

I've tried to redefine the -l suites beginning with libsql8.a, or another and arrive always to a shared lib.

If someone has an idea or a running example... Thanks in advance

Pascal Received on Tue Apr 10 2001 - 13:41:16 CEST

Original text of this message