OCCI Problem in Red Hat 5 & Oracle 11g
673591Dec 2 2008 — edited Dec 4 2008Good day All,
I am still facing problem with the OCCI Connection to
the Oracle 11g Server. Hope i could get a guide on solving this
matter. Below are the details on my development environment.
Server :
Red Hat Enterprise Linux 5
Oracle Database 11g Release 1 (11.1.0.6.0) for Linux x86-64
Client :
Red Hat Linux 5
gcc 4.1.2 (C++ Compiler)
Oracle instantclient 11.1 (Basic, SDK, sqlplus, tools)
ocicpplib-0.5.6 (downloaded from ocicpplib.sourceforge.net)
When i run a test cpp file, i get errors such as below :
*[oracle@Atm_Desktop02 demo]$ g++ -L/user/include/oracle/11.1 -o occidml occidml.cpp*
*/tmp/ccuvnMXe.o: In function `main':*
occidml.cpp:(.text+0xb9e): undefined reference to
*`oracle::occi::SQLException::SQLException(oracle::occi::SQLException const&)'*
occidml.cpp:(.text+0xbbe): undefined reference to
*`oracle::occi::SQLException::getMessage() const'*
occidml.cpp:(.text+0xc3c): undefined reference to
*`oracle::occi::SQLException::~SQLException()'*
Thanks in advance for the help, hope to get a reply soon