I am having problems installing DBD-Oracle-1.12 in cygwin on a Windows 2000 Server machine.
I am trying: perl Makefile.PL this gives the following output: ---------------------- Using DBI 1.21 installed in /usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI Configuring DBD::Oracle ... >>> Remember to actually *READ* the README file! Especially if you have any problems. Using Oracle in C:/Oracle/Ora81 Found header files in rdbms/demo. Found oci directory Using OCI directory 'oci' Using liboci.a (did you build it?) System: perl5.006001 cygwin_nt-4.0 loreley 1.3.2(0.3932) 2001-05-20 23:28 i686 u nknown Compiler: gcc -O2 -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/inc lude Linker: /usr/bin/ld Sysliblist: Warning: If you have problems you may need to rebuild perl with -Uusemymalloc. Note (probably harmless): No library found for -loci LD_RUN_PATH=C:/Oracle/Ora81/lib:C:/Oracle/Ora81/rdbms/lib Using DBD::Oracle 1.12. Using DBI 1.21 installed in /usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI Writing Makefile for DBD::Oracle *** If you have problems... read all the log printed above, and the README and README.help files. (Of course, you have read README by now anyway, haven't you?) ----------------------------- and then make gives this output: ----------------------------- Skip blib/lib/oraperl.ph (unchanged) Skip blib/lib/DBD/Oracle.pm (unchanged) Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged) Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged) Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged) Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged) Skip blib/lib/Oraperl.pm (unchanged) gcc -c -IC:/Oracle/Ora81/oci/include -IC:/Oracle/Ora81/rdbms/demo -I/usr/lib/per l5/site_perl/5.6.1/cygwin-multi/auto/DBI -DPERL_USE_SAFE_PUTENV -fno-strict-alia sing -I/usr/local/include -DUSEIMPORTLIB -O2 -DVERSION=\"1.12\" -DXS_VERSION=\ "1.12\" -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE Oracle.c gcc -c -IC:/Oracle/Ora81/oci/include -IC:/Oracle/Ora81/rdbms/demo -I/usr/lib/per l5/site_perl/5.6.1/cygwin-multi/auto/DBI -DPERL_USE_SAFE_PUTENV -fno-strict-alia sing -I/usr/local/include -DUSEIMPORTLIB -O2 -DVERSION=\"1.12\" -DXS_VERSION=\ "1.12\" -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE dbdimp.c gcc -c -IC:/Oracle/Ora81/oci/include -IC:/Oracle/Ora81/rdbms/demo -I/usr/lib/per l5/site_perl/5.6.1/cygwin-multi/auto/DBI -DPERL_USE_SAFE_PUTENV -fno-strict-alia sing -I/usr/local/include -DUSEIMPORTLIB -O2 -DVERSION=\"1.12\" -DXS_VERSION=\ "1.12\" -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE oci7.c gcc -c -IC:/Oracle/Ora81/oci/include -IC:/Oracle/Ora81/rdbms/demo -I/usr/lib/per l5/site_perl/5.6.1/cygwin-multi/auto/DBI -DPERL_USE_SAFE_PUTENV -fno-strict-alia sing -I/usr/local/include -DUSEIMPORTLIB -O2 -DVERSION=\"1.12\" -DXS_VERSION=\ "1.12\" -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE oci8.c Running Mkbootstrap for DBD::Oracle () chmod 644 Oracle.bs rm -f blib/arch/auto/DBD/Oracle/Oracle.dll LD_RUN_PATH="C:/Oracle/Ora81/lib:C:/Oracle/Ora81/rdbms/lib" ld2 -s -L/usr/local /lib Oracle.o dbdimp.o oci7.o oci8.o -o blib/arch/auto/DBD/Oracle/Oracle.dll / usr/lib/perl5/5.6.1/cygwin-multi/CORE/libperl5_6_1.a dllwrap --dllname Oracle.dll --driver-name gcc --dlltool dlltool --export-all-sy mbols --as as --output-def libOracle.def --output-lib libOracle.a \ -s -L/usr/local/lib Oracle.o dbdimp.o oci7.o oci8.o /usr/lib/perl5/5.6.1/cygwin -multi/CORE/libperl5_6_1.a dllwrap: no export definition file provided dllwrap: creating one, but that may not be what you want dbdimp.o(.text+0xb2b):dbdimp.c: undefined reference to `OCIInitialize' dbdimp.o(.text+0xb9a):dbdimp.c: undefined reference to `OCIEnvInit' dbdimp.o(.text+0xc18):dbdimp.c: undefined reference to `OCIHandleAlloc' dbdimp.o(.text+0xca2):dbdimp.c: undefined reference to `OCIHandleAlloc' dbdimp.o(.text+0xd2a):dbdimp.c: undefined reference to `OCIHandleAlloc' dbdimp.o(.text+0xdf8):dbdimp.c: undefined reference to `OCIServerAttach' dbdimp.o(.text+0xeaf):dbdimp.c: undefined reference to `OCIHandleFree' dbdimp.o(.text+0xf0e):dbdimp.c: undefined reference to `OCIHandleFree' dbdimp.o(.text+0xf6d):dbdimp.c: undefined reference to `OCIHandleFree' dbdimp.o(.text+0xfde):dbdimp.c: undefined reference to `OCIAttrSet' dbdimp.o(.text+0x1051):dbdimp.c: undefined reference to `OCIHandleAlloc' dbdimp.o(.text+0x116f):dbdimp.c: undefined reference to `OCISessionBegin' dbdimp.o(.text+0x11ec):dbdimp.c: undefined reference to `OCIServerDetach' dbdimp.o(.text+0x1243):dbdimp.c: undefined reference to `OCIHandleFree' dbdimp.o(.text+0x12a2):dbdimp.c: undefined reference to `OCIHandleFree' dbdimp.o(.text+0x1301):dbdimp.c: undefined reference to `OCIHandleFree' dbdimp.o(.text+0x1360):dbdimp.c: undefined reference to `OCIHandleFree' dbdimp.o(.text+0x13d2):dbdimp.c: undefined reference to `OCIAttrSet' dbdimp.o(.text+0x14e9):dbdimp.c: undefined reference to `OCITransCommit' dbdimp.o(.text+0x1582):dbdimp.c: undefined reference to `OCIBreak' dbdimp.o(.text+0x1609):dbdimp.c: undefined reference to `OCITransRollback' dbdimp.o(.text+0x1792):dbdimp.c: undefined reference to `OCISessionEnd' dbdimp.o(.text+0x1808):dbdimp.c: undefined reference to `OCIServerDetach' dbdimp.o(.text+0x18b2):dbdimp.c: undefined reference to `OCIHandleFree' dbdimp.o(.text+0x1911):dbdimp.c: undefined reference to `OCIHandleFree' dbdimp.o(.text+0x1970):dbdimp.c: undefined reference to `OCIHandleFree' dbdimp.o(.text+0x19cf):dbdimp.c: undefined reference to `OCIHandleFree' dbdimp.o(.text+0x2c4a):dbdimp.c: undefined reference to `OCIBindByName' dbdimp.o(.text+0x2ed2):dbdimp.c: undefined reference to `OCIHandleFree' dbdimp.o(.text+0x2f5a):dbdimp.c: undefined reference to `OCIHandleAlloc' dbdimp.o(.text+0x304a):dbdimp.c: undefined reference to `OCIBindByName' dbdimp.o(.text+0x373d):dbdimp.c: undefined reference to `OCIBindByName' dbdimp.o(.text+0x3821):dbdimp.c: undefined reference to `OCIBindDynamic' dbdimp.o(.text+0x48f7):dbdimp.c: undefined reference to `OCIStmtExecute' dbdimp.o(.text+0x4a2c):dbdimp.c: undefined reference to `OCIAttrGet' dbdimp.o(.text+0x4ab9):dbdimp.c: undefined reference to `OCIAttrGet' dbdimp.o(.text+0x4e48):dbdimp.c: undefined reference to `OCIAttrGet' dbdimp.o(.text+0x4fc7):dbdimp.c: undefined reference to `OCIStmtFetch' dbdimp.o(.text+0x50ec):dbdimp.c: undefined reference to `OCIDescriptorFree' dbdimp.o(.text+0x5152):dbdimp.c: undefined reference to `OCIDescriptorFree' dbdimp.o(.text+0x51da):dbdimp.c: undefined reference to `OCIHandleFree' oci8.o(.text+0x9ba):oci8.c: undefined reference to `OCIErrorGet' oci8.o(.text+0x12db):oci8.c: undefined reference to `OCIHandleAlloc' oci8.o(.text+0x13b4):oci8.c: undefined reference to `OCIStmtPrepare' oci8.o(.text+0x147f):oci8.c: undefined reference to `OCIHandleFree' oci8.o(.text+0x14fc):oci8.c: undefined reference to `OCIAttrGet' oci8.o(.text+0x1651):oci8.c: undefined reference to `OCIAttrSet' oci8.o(.text+0x1d65):oci8.c: undefined reference to `OCIDescriptorAlloc' oci8.o(.text+0x1d9f):oci8.c: undefined reference to `OCIAttrSet' oci8.o(.text+0x2035):oci8.c: undefined reference to `OCILobGetLength' oci8.o(.text+0x20e2):oci8.c: undefined reference to `OCILobRead' oci8.o(.text+0x2377):oci8.c: undefined reference to `OCILobGetLength' oci8.o(.text+0x25e3):oci8.c: undefined reference to `OCILobRead' oci8.o(.text+0x289f):oci8.c: undefined reference to `OCIDescriptorAlloc' oci8.o(.text+0x2dbd):oci8.c: undefined reference to `OCIStmtExecute' oci8.o(.text+0x2e5c):oci8.c: undefined reference to `OCIAttrGet' oci8.o(.text+0x2f61):oci8.c: undefined reference to `OCIParamGet' oci8.o(.text+0x2fdd):oci8.c: undefined reference to `OCIAttrGet' oci8.o(.text+0x3057):oci8.c: undefined reference to `OCIAttrGet' oci8.o(.text+0x30d1):oci8.c: undefined reference to `OCIAttrGet' oci8.o(.text+0x314b):oci8.c: undefined reference to `OCIAttrGet' oci8.o(.text+0x31c5):oci8.c: undefined reference to `OCIAttrGet' oci8.o(.text+0x3247):oci8.c: more undefined references to `OCIAttrGet' follow oci8.o(.text+0x34ff):oci8.c: undefined reference to `OCIDescriptorAlloc' oci8.o(.text+0x3708):oci8.c: undefined reference to `OCIAttrSet' oci8.o(.text+0x37b7):oci8.c: undefined reference to `OCIAttrSet' oci8.o(.text+0x3845):oci8.c: undefined reference to `OCIAttrSet' oci8.o(.text+0x39f8):oci8.c: undefined reference to `OCIDefineByPos' oci8.o(.text+0x3d83):oci8.c: undefined reference to `OCIStmtFetch' oci8.o(.text+0x43f5):oci8.c: undefined reference to `OCIAttrSet' oci8.o(.text+0x453e):oci8.c: undefined reference to `OCIAttrSet' oci8.o(.text+0x46b3):oci8.c: undefined reference to `OCISessionEnd' oci8.o(.text+0x472b):oci8.c: undefined reference to `OCISessionBegin' oci8.o(.text+0x5074):oci8.c: undefined reference to `OCIHandleAlloc' oci8.o(.text+0x515f):oci8.c: undefined reference to `OCIDescribeAny' oci8.o(.text+0x5288):oci8.c: undefined reference to `OCIDescribeAny' oci8.o(.text+0x534b):oci8.c: undefined reference to `OCIHandleFree' oci8.o(.text+0x53cf):oci8.c: undefined reference to `OCIAttrGet' oci8.o(.text+0x545a):oci8.c: undefined reference to `OCIAttrGet' oci8.o(.text+0x54e5):oci8.c: undefined reference to `OCIAttrGet' oci8.o(.text+0x555a):oci8.c: undefined reference to `OCIHandleFree' oci8.o(.text+0x5638):oci8.c: undefined reference to `OCIParamGet' oci8.o(.text+0x56c0):oci8.c: undefined reference to `OCIAttrGet' oci8.o(.text+0x5750):oci8.c: undefined reference to `OCIAttrGet' oci8.o(.text+0x590e):oci8.c: undefined reference to `OCIHandleFree' oci8.o(.text+0x5fbd):oci8.c: undefined reference to `OCIDescriptorAlloc' oci8.o(.text+0x61b7):oci8.c: undefined reference to `OCIHandleAlloc' oci8.o(.text+0x625a):oci8.c: undefined reference to `OCIStmtPrepare' oci8.o(.text+0x632f):oci8.c: undefined reference to `OCIDescriptorAlloc' oci8.o(.text+0x6383):oci8.c: undefined reference to `OCIBindByName' oci8.o(.text+0x6573):oci8.c: undefined reference to `OCIDefineByPos' oci8.o(.text+0x6860):oci8.c: undefined reference to `OCIAttrGet' oci8.o(.text+0x6905):oci8.c: undefined reference to `OCIStmtExecute' oci8.o(.text+0x6a24):oci8.c: undefined reference to `OCILobWrite' oci8.o(.text+0x6aaa):oci8.c: undefined reference to `OCILobTrim' oci8.o(.text+0x6be0):oci8.c: undefined reference to `OCIHandleFree' collect2: ld returned 1 exit status dllwrap: gcc exited with status 1 perlld: *** system() failed to execute dllwrap --dllname Oracle.dll --driver-name gcc --dlltool dlltool --export-all-sy mbols --as as --output-def libOracle.def --output-lib libOracle.a \ -s -L/usr/local/lib Oracle.o dbdimp.o oci7.o oci8.o /usr/lib/perl5/5.6.1/cygwin -multi/CORE/libperl5_6_1.a make: *** [blib/arch/auto/DBD/Oracle/Oracle.dll] Error 1 ---------------------------------------- anybody any ideas ? thanks in advance.