I have experienced problems with Oracle OCI library. I was unable to properly
link
OCI library using gcc. Probably gcc compiler provided with SFU is unable to
link
native Windows library.
Oracle provides OCI dll (named oci.dll) and additionally OCI stub library
(oci.lib)
for Microsoft MSVC compiler. I have attempted to link dora with both OCI dll
and
OCI lib. Link with OCI lib resulted with many strange linker errors
(probably gcc does not recognize the "lib" file format).
Link with OCI dll i have performed in two ways:
-- using options: -L$(ORACLE_HOME)/bin -loci
- gcc produced error message that library is not found
-- providing full library pathname in command line:
$(ORACLE_HOME)/bin/oci.dll
- gcc produced error messages about unresolved symbols, although these
symbols are located in this library.
If somebody did successfully link any native Windows library with any program
written for SFU, please inform me how to link such library properly.
On the other hand, I couldn't bring to work the second compiler provided with
SFU
-- the Microsoft compiler. Maybe somebody was able to compile
a C++ source file or create a shared library using it ?
Which compiler are you using ?
--
Regards
Romek
=> http://www.rtj.republika.pl <= my photo gallery