develooper Front page | perl.perl5.porters | Postings from April 2003

Re: Oracle::OCI on Win

Thread Next
From:
Tim Bunce
Date:
April 18, 2003 03:58
Subject:
Re: Oracle::OCI on Win
Message ID:
20030418105819.GA51244@dansat.data-plan.com
On Thu, Apr 17, 2003 at 07:05:08PM -0400, Dave K wrote:
> LD_RUN_PATH="/usr/lib" ld2  -s -L/usr/local/lib OCI.o utility.o  -o
> blib/arch/auto/Oracle/OCI/OCI.dll
> /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/li
> bperl.dll.a -loci
> gcc -shared -o
> OCI.dll -Wl,--out-implib=libOCI.dll.a -Wl,--export-all-symbols -Wl,--enable-
> auto-import -Wl,--stack,8388608 \
> -s -L/usr/local/lib OCI.o utility.o
> /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

I'm sorry but I can't help you much as I know practically nothing about
build/link/dll issues on windows.

Google ay have some ideas you could explore:
  http://www.google.com/search?q=%22dlopen%3A+Win32+error+127%22

I've CC'd this to perl5-porters in the hope someone could shed some light.

But basically, as far as porting Oracle::OCI to windows goes, you're in
uncharted waters and, judging by the problems I have with DBD::Oracle
on unix, it may be rough sailing.

Good luck.

Tim.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About