Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Pro*C library libsql8.a not found
Perhaps -lclntsh is missing (shared linking, for static linking you would
need a whole bunch of libs). For running the prog, set the LD_LIBRARY_PATH
to the $ORACLE_HOME/lib directory.
Peter
Jared MacDonald <jdm42_at_my-deja.com> wrote in message
news:85j1a2$pm0$1_at_nnrp1.deja.com...
> Hello,
>
> I have just started using Oracle's Pro*C on a Sun and am compiling a
> simple program. The compiler is giving me
>
> Undefined symbol
> in file
> sqlglm
> sqlcxt
>
> I used 'nm' to discover that these functions are in
> oracle_home/lib/libsql8.a ... I have tried linking to this file every
> way I can: -lsql8, putting the whole filename explicitly in the 'gcc'
> command, copying the file to the same directory. Still the linker does
> not recognize these functions.
>
> Any ideas what am I doing wrong?
>
> Thanks,
> Jared
>
> --
> Jared MacDonald
> Tallan, Inc.
> www.tallan.com
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Thu Jan 13 2000 - 07:21:56 CST
![]() |
![]() |