Home » Developer & Programmer » Precompilers, OCI & OCCI » LNK2019: unresolved external symbol _OCIInitialize
LNK2019: unresolved external symbol _OCIInitialize [message #129905] Wed, 27 July 2005 04:24 Go to next message
Messages: 1
Registered: July 2005
Location: India
Junior Member
I am using icl to compile my oci program on windows XP. I am getting the LNK2019: unresolved external symbol _OCIInitialize

I guess some environment variable is not set properly.
Can anybody point me to exactly what needs to be set

Re: LNK2019: unresolved external symbol _OCIInitialize [message #131293 is a reply to message #129905] Fri, 05 August 2005 03:09 Go to previous message
Michael Hartley
Messages: 110
Registered: December 2004
Location: West Yorkshire, United Ki...
Senior Member


first question has to be: what is ICL?

There are only a few compilers supported by Oracle so you should check that yours is one of them.

In answer to your question is seems you are not linking against the static libraries.

If you switch to mingw, you can link against the dynamic library ${ORACLE_HOME}/bin/oci.dll. However you may be better served by Oracle if you move to Visual C++, though my favourite is still mingw.

Kind regards
Michael Hartley
Previous Topic: Microfocus Workbench
Next Topic: Unresolved symbols nauseid, nauk5akerberos, nauidtx, nauradius
Goto Forum:

Current Time: Wed Feb 28 14:50:17 CST 2024