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

Home -> Community -> Usenet -> c.d.o.misc -> Re: compiling demo occi

Re: compiling demo occi

From: dave <none_at_none.com>
Date: Wed, 19 Feb 2003 17:20:41 -0500
Message-ID: <fqT4a.150596$hX4.389791911@news.primus.ca>


libocci.so is under /opt/oracle/products/9.2/lib/

(compiling ok)
g++ -L/opt/oracle/products/9.2/lib/ -L/opt/oracle/products/9.2/rdbms/lib/ -o occiclob occiclob.o -locci -lclntsh -ldl -lm

gets same error message
("using namespace oracle::occi" in source file)

-dv

"dv" <dv03feb_at_yahoo.com> wrote in message news:28ecb261.0302181531.318de3e6_at_posting.google.com...
> env: oracle9.i, redhat8.0
> demos come from oracle installation.
> where
> make -f demo_rdbms.mk demos #passed but
> make -f demo_rdbms.mk occidemos #get following msg(error)
> occiclob.o:undefined reference to 'typeinfo for
> oracle::occi::SQLException'
> .
> .
> .
> occiclob.o: undefined reference to
> 'oracle::occi::Environment::createEnvironment(..)'
> ...

>

> compling other single demo gets same err. in the cpp files, there are
> #include <iostream.h>
> #include <occi.h>
> using oracle::occi
> using std
> ...
>

> and include directories and lib directories seem fine. what are
> possible reasons for these?
>

> TIA
>
>

> dv
Received on Wed Feb 19 2003 - 16:20:41 CST

Original text of this message

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