Re: How can I let Perl 5.6.1 and Oracle 10g work together?

From: Havel Zhang <havel.zhang_at_gmail.com>
Date: Fri, 21 Mar 2008 02:28:37 -0700 (PDT)
Message-ID: <376bf361-cc3d-4f67-97b7-deadf1bff7ac@a70g2000hsh.googlegroups.com>


On 3月19日, 下午10时29分, david <davidho..._at_gmail.com> wrote:
> On Mar 18, 2:45 am, Havel Zhang <havel.zh..._at_gmail.com> wrote:
>
>
>
> > hi all:
>
> > My former System using Perl 5.6.1 and Oracle 9i. Now we will
> > migrate our oracle9i to oracle 10g. All things works fine. But I found
> > my perl program can not compile, system will report error as follows:
> > ===============================================================================
> > Perl lib version (v5.8.3) doesn't match executable version (v5.6.1) at
> > C:\oracle\product\10.2.0\db_1\perl\5.8.3\lib/MSWin32-x86-multi-thread/
> > Config.pm line 32.
> > Compilation failed in require at C:\oracle\product\10.2.0\db_1\perl
> > \5.8.3\lib/MSWin32-x86-multi-thread/DynaLoader.pm line 25.
> > BEGIN failed--compilation aborted at C:\oracle\product\10.2.0\db_1\perl
> > \5.8.3\lib/MSWin32-x86-multi-thread/DynaLoader.pm line 25.
> > Compilation failed in require at C:\oracle\product\10.2.0\db_1\perl
> > \site\5.8.3\lib/MSWin32-x86-multi-thread/Win32/Process.pm line 4.
> > Compilation failed in require at kill_excel.pl line 1.
> > BEGIN failed--compilation aborted at kill_excel.pl line 1.
> > ===============================================================================
>
> > Any have the same issue? Any solution?
>
> > thank you.
>
> > Havel.Zhang
>
> Check out the PERL5LIB environment variable, as Oracle 10g creates the
> environment variable for DBConsole. Try setting PERL5LIB explicitly
> prior to executing your perl script.
>
> HTH,
> Dave

Thank you, as u said, just set perl5lib environment variable, problem solved.

Thanks again:)

Havel Received on Fri Mar 21 2008 - 04:28:37 CDT

Original text of this message