|Problem with OCCI [message #349030]
||Thu, 18 September 2008 11:04
Registered: September 2008
My OS is Linux and I installed Oracle 10.2. Everything is fine.|
I can use sqlplus, exp, imp etc with no problem.
Now I have created another linux user test in /home/test.
I unzipped basic-10.2xxxxxx.zip (/home/test/instantclient_10_2) and exported LD_LIBRARY_PATH.
I guess I have installed instant client in this way.
using namespace oracle::occi;
Environment* env = Environment::createEnvironment();
This testOra.cpp would not compile.
Error: undefined reference ...createEnvironment(...)
It compiles if I change the first line as follows (not create).
Would you please tell me what to do?
Thank you in advance.