Hi has anyone got dbd-roacle to work with Cygwin?
I tried the following
dlltool --input-def oci.def --output-lib liboci.a
before running perl Makefile.PL, which returned the following
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -loci #### <-- is this
important?
LD_RUN_PATH=d:/oracle/ora81/lib:d:/oracle/ora81/rdbms/lib
Using DBD::Oracle 1.12.
Using DBI 1.20 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?)
Then the "make" fails with (full log in attachment)
:
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
Any help appreciated
Thanks
Dan
make.log
Description: Binary data
