OCCI question

From: dave <none_at_none.com>
Date: Wed, 19 Feb 2003 17:58:12 -0500
Message-ID: <qZT4a.150750$y05.390112478_at_news.primus.ca>


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 Received on Wed Feb 19 2003 - 23:58:12 CET

Original text of this message