Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

undefined symbol createEnvironment

406141Oct 10 2003 — edited Oct 23 2003
Hi

I am making an application which will access an oracle database by OCCI on linux. I have installed the 9i client, and I am linking with among other libraries libocci9.a . When compiling, i get an undefined symbol

undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void*, void* (*)(void*, unsigned), void* (*)(void*, void*, unsigned), void (*)(void*, void*))'

In the occi9 library, I find the symbol
00000000 T createEnvironment__Q36oracle4occi11EnvironmentQ46oracle4occi11Environment4ModePvPFPvUi_PvPFPvPvUi_PvPFPvPv_v

It looks like argument number two (void *ctxp) in the occiControl.h header file is missing in the library.

Has anyone of you guys been seeing the same problem, or do I have a mismatch between the versions of the header file and the library???
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2003
Added on Oct 10 2003
1 comment
400 views