Re: OCCI unresolved externals (createEnvironment / terminate Environment)

From: Andy Finkenstadt <kahuna_at_panix.com>
Date: Thu, 2 Jan 2003 21:57:32 +0000 (UTC)
Message-ID: <av2ckc$8ku$1_at_reader1.panix.com>


In <6f5e56e0.0301012213.231a8787_at_posting.google.com> martink_at_renkodesign.com (Martin Kosina) writes:
>I am trying to compile and link a simple client on Linux using the C++
>call-level interface (OCCI). Everything compiles and links fine
>against libclntsh.so, except for the createEnvironment() and
>terminateEnvironment() calls, which the linker cannot find. For the
>record, this is oracle 9.2.0.1 under RedHat 7.3 with gcc 3.1. Here is
>the minimal program:

Most likely, gcc 3.1 (3.0, et.al.) use the new ABI standard for name mangling, and the libocci.a from Oracle uses the old standard in the supported configuration of using gcc 2.95++. If indeed you are linking against libocci.a in the first place?

Andy

-- 
Andrew Finkenstadt (http://www.finkenstadt.com/andy/)
Received on Thu Jan 02 2003 - 22:57:32 CET

Original text of this message