RE: Perl lib version not match executable version



Normal perl script is working fine except those require Oraperl.





________________________________

From: Chong, Wei-Ling
Sent: Friday, December 15, 2006 10:05 AM
To: dbi-users@xxxxxxxx
Subject: RE: Perl lib version not match executable version



I still having the problem with perl version conflict.

There is no 5.6.1 perl for Solaris 10 x86. Please help.

Thanks.





________________________________

From: Jonathan Leffler [mailto:jonathan.leffler@xxxxxxxxx]
Sent: Friday, December 08, 2006 8:30 PM
To: Hardy Merrill
Cc: Chong, Wei-Ling; dbi-users@xxxxxxxx
Subject: Re: Perl lib version not match executable version





On 12/8/06, Hardy Merrill <HMerrill@xxxxxxxxxxxxxxxx> wrote:

You may have more than one problem, [...one problem explained...]

On 12/8/2006 at 1:33 AM, "Chong, Wei-Ling" <Wei-Ling.Chong@xxxxxxx>
wrote:
I have Solaris 5.8 (x86) server and running Oracle Application Server,
I
install perl-5.8.7-sol10-x86-local.gz.

When I run my perl script, I am getting error below. How to resolve
the
problem?

[Fri Dec 8 14:18:45 2006] [error] [client 165.204.172.185] [ecid:
1165558725:165.204.178.145:8267
:0:37,0] Premature end of script headers:
/oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl
Perl lib version (v5.6.1) doesn't match executable version (v5.8.7)
at
/oracle/app/oracle/product/
oas10.1.2.0.2/perl/lib/5.6.1/i86pc-solaris/Config.pm line 21.
Compilation failed in require at
/oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/5.6.1/i86pc-sol
aris/DynaLoader.pm line 25.
[...]


And for the rest, note that 5.6.1 in the Oracle pathway - it isn't the
same as 5.8.x that you're using.

Either downgrade to Perl 5.6.1 or upgrade the Oracle stuff to Perl
5.8.x.

--
Jonathan Leffler <jonathan.leffler@xxxxxxxxx > #include <disclaimer.h>
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."



Relevant Pages

  • RE: Perl lib version not match executable version
    ... Perl lib version not match executable version ... OS, Version of DBI, DBD and what is missing ... PKGINST: SUNWperl-xml-parser ...
    (perl.dbi.users)
  • Re: Perl lib version not match executable version
    ... Perl lib version not match executable version ... PKGINST: SUNWperl-xml-parser ... But I may be missing something. ...
    (perl.dbi.users)
  • RE: Perl lib version not match executable version
    ... Perl lib version not match executable version ... I have reinstalled the 10g HTTP Server and found it comes with Perl ... PKGINST: SUNWperl-xml-parser ... In your original email you said you were running Solaris 5.8. ...
    (perl.dbi.users)
  • RE: Perl lib version not match executable version
    ... Well, you do have perl 5.6.1 already installed, but it is installed ... In your original email you said you were running Solaris 5.8. ... Perl lib version not match executable version ... note that 5.6.1 in the Oracle pathway - it isn't the ...
    (perl.dbi.users)
  • RE: Perl lib version not match executable version
    ... I have reinstalled the 10g HTTP Server and found it comes with Perl ... PKGINST: SUNWperl-xml-parser ... Perl lib version not match executable version ... In your original email you said you were running Solaris 5.8. ...
    (perl.dbi.users)