| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: OCI compile
"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
![]() |
![]() |