Re: OCCI question

From: dave <none_at_none.com>
Date: Mon, 24 Feb 2003 11:10:43 -0500
Message-ID: <prr6a.178300$K04.447965265_at_news.primus.ca>


oracle 9.2, linux advanced server, linux 2.4.20 #3 SMP, i686,i386, GNU/linux, gcc2.96(alos tried 3.2), glibc 2.2.93-5

Thanks

"Frank" <fvanbortel_at_netscape.net> wrote in message news:3E58EE26.5040108_at_netscape.net...
> dave wrote:
> > env: oracle9i, redhat8.0
> > I'm linking a demo(comes from original database installation) occi
 source
> > file(occiclob.cpp) with both demo_rdbms.mk or g++ directly, here is the
> > command(libocci.so is under /opt/oracle/products/9.2/lib/):
> >

 g++ -L/opt/oracle/products/9.2/lib/ -L/opt/oracle/products/9.2/rdbms/lib/ -o
> > occiclob occiclob.o -locci -lclntsh -ldl -lm
> >
> > and get following error message:
> > occiclob.o:undefined reference to 'typeinfo for
> > oracle::occi::SQLException'
> > ...
> > occiclob.o: undefined reference to
> > 'oracle::occi::Environment::createEnvironment(..)'
> > ...
> >
> > Any clues on troubleshooting
> >
> > TIA
> >
> > dave
> >
> >
>
> versions, please... 9i R1 or 2? binutils, gcc, kernel?
>
> --
> Regards, Frank van Bortel
>
Received on Mon Feb 24 2003 - 17:10:43 CET

Original text of this message