Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: OCI compile

Re: OCI compile

From: Markus M. Mueller <markus-m.mueller_at_ubs.com>
Date: Wed, 14 Jul 1999 09:40:55 +0200
Message-ID: <378C3F07.D2C4893C@ubs.com>


"nm libname" show you the exported functions from a library (.a/.so). try to link against "libclnsh.so".

cheers
Markus

Lee Kang Won wrote:
>
> Hi there?
>
> I'm having trouble compiling client program using oci of Oracle8 for linux.
> I think names of some libraries have been changed, but I can't figure
> out how to make it. I mean I don't know which library should be linked
> to make it work.
>
> Here's the message when I try compiling.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /home/kwlee/ociutil/ociutil.a(kw_ociutil.o): In function `LogoutOra':
> /home/kwlee/ociutil/kw_ociutil.c:13: undefined reference to `ologof'
> /home/kwlee/ociutil/ociutil.a(kw_ociutil.o): In function `LoginOra':
> /home/kwlee/ociutil/kw_ociutil.c:22: undefined reference to `orlon'
> /home/kwlee/ociutil/ociutil.a(kw_ociutil.o): In function `CloseCursor':
> /home/kwlee/ociutil/kw_ociutil.c:28: undefined reference to `oclose'
> /home/kwlee/ociutil/ociutil.a(kw_ociutil.o): In function `OpenCursor':
> /home/kwlee/ociutil/kw_ociutil.c:34: undefined reference to `oopen'
> /home/kwlee/ociutil/ociutil.a(kw_ociutil.o): In function `CommitOff':
> /home/kwlee/ociutil/kw_ociutil.c:40: undefined reference to `ocof'
> /home/kwlee/ociutil/ociutil.a(kw_ociutil.o): In function `CommitOra':
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> How can I bring those objects(ologof, orlon...)?
> If I include all the objects from "/oracle/rdbms/lib" directory,
> it also complains "multiple definition of ..."
>
> Please help me.
Received on Wed Jul 14 1999 - 02:40:55 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US