Problems installing in cygwin.
I was getting the following errors:
LD_RUN_PATH="/cygdrive/d/oracle/product/ora9i/OCI/lib:/cygdrive/d/oracle/product/ora9i/OCI/rdbms/lib"
g++ --shared -Wl,--enable-auto-import -Wl,--export-all-symbols
-Wl,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib
Oracle.o dbdimp.o oci8.o -o blib/arch/auto/DBD/Oracle/Oracle.dll \
/usr/lib/perl5/5.10/i686-cygwin/CORE/libperl.dll.a
-L/perl_downloads/DBD-Oracle-1.22 -loci \
Oracle.o:Oracle.c:(.text+0x6ba9): undefined reference to
`_OCILobGetChunkSize'
dbdimp.o:dbdimp.c:(.text+0x10e3): undefined reference to
`_OCINlsCharSetIdToName'
dbdimp.o:dbdimp.c:(.text+0x110f): undefined reference to
`_OCINlsCharSetIdToName'
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/Oracle/Oracle.dll] Error 1
-----
By editing the Makefile and adding to LDDLFLAGS the path to the OCI lib
directory I cleared these errors, but then had a new error:
-----
LD_RUN_PATH="/cygdrive/d/oracle/product/ora9i/OCI/lib:/cygdrive/d/oracle/product/ora9i/OCI/rdbms/lib"
g++ --shared -Wl,--enable-auto-import -Wl,--export-all-symbols
-Wl,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib
-L/cygdrive/d/oracle/product/ora9i/OCI/lib Oracle.o dbdimp.o oci8.o -o
blib/arch/auto/DBD/Oracle/Oracle.dll \
/usr/lib/perl5/5.10/i686-cygwin/CORE/libperl.dll.a
-L/perl_downloads/DBD-Oracle-1.22 -loci \
Cannot export OCI_NULL_THUNK_DATA: symbol not found
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/Oracle/Oracle.dll] Error 1
-----
I have Installed version 1.19 with no problems. I have attached a text
file with my env. and some traces.
Regards
Rick
Subject: | DBD-Oracle1.22_errors.txt |
Message body is not shown because it is too large.