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: Oracle Pro*C library libsql8.a not found

Re: Oracle Pro*C library libsql8.a not found

From: Peter Dickmann <pdickmann_at_de.lhsgroup.com>
Date: Thu, 13 Jan 2000 14:21:56 +0100
Message-ID: <387dd175@news.lhsgroup.com>


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

Original text of this message

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