Re: Oracle::OCI on Win

[email protected] ("Dave K") Fri, 18 Apr 2003 16:13:08 -0400
Newsgroups perl.perl5.porters,perl.dbi.oracle-oci
Message-ID <[email protected]>
Gerrit, Tim,
> Hallo Dave,
Hallo Garrit,
>
> Am Freitag, 18. April 2003 um 12:58 schriebst du:
>
> [...]
> >> /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a -loci
> >> Creating library file: libOCI.dll.a
>
>
> >> /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
> >> 'blib/lib', 'blib/arch')" t/*.t
> >> t/01base....Can't load
> >>
'/home/dave/ORA_OCI/Oracle-OCI/Oracle/OCI/blib/arch/auto/Oracle/OCI/OCI.dll'
> >> for module Oracle::OCI: dlopen: Win32 error 127 at
> >>  /usr/lib/perl5/5.8.0/cygwin-multi-64int/DynaLoader.pm line 229.
> >>  at t/01base.t line 9
>
> grep 127 /usr/include/w32api/winerror.h
>
>   #define ERROR_PROC_NOT_FOUND 127L
>
> Did you use a Cygwin compatible importlibrary (liboci.a) to link
> against?
DBD::Oracle was compiled on this machine, under Cygwin - but I don't know if
that is sufficient to answer your question. There is a liboci.a under
{cygwin home}/lib.
Tim's warnings seem foreboding but I am going to forge ahead with this and
try to get this compiled in a manner that will allow others to replicate the
results.
Thanks and bear in mind that I am learning about linking, GCC, XS, perl
etc..