On Wed, Sep 24, 2003 at 08:08:51PM +0100, Andy Hassall wrote: > Tim Bunce wrote: > > On Wed, Sep 24, 2003 at 11:24:17AM +0200, Steffen Goeldner wrote: > >> dmake > >> ... > >> Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland > >> Error: Unresolved external '_SQLEnvGet' referenced from > >> C:\TEMP\DBD-ORACLE-1.15\DBDIMP.OBJ Error: Unresolved external > >> '_SQLSvcCtxGet' referenced from C:\TEMP\DBD-ORACLE-1.15\DBDIMP.OBJ > > > > If you (or someone else) are familar enough with windows, could you > > check if those symbols are in some other oracle library that we're > > not linking with? > > Those symbols are part of SQLLIB: > > http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a97269/pc_01int.htm#1174 > > $ORACLE_HOME/precomp/lib/oraSQL9.LIB has those symbols (and the other > version in the msvc subdirectory):
Okay. You're using Oracle 9.x but Steffen was using Oracle 8.1.7. I know the code that uses those symbols isn't properly #ifdef'd out on older versions of Oracle so I need to fix that. But I also need to know if DBD::Oracle builds okay on Windows for Oracle 9.x users. Does it? If not then I presume the problem is that we need to link to oraSQL9.LIB. Does that fix it? If DBD::Oracle does work ok on windows with Oracle 9.c then I'm just left with the problem of working out a) the oldest Oracle version that supports SQLEnvGet etc, and b) how to tell that version from the header files (sadly Oracle doesn't provide a simple way to do that). Tim.