Perl lib version not match executable version
Perl lib version not match executable version
am 08.12.2006 07:33:42 von Wei-Ling.Chong
Hi Tim,
Need your advise.
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?=20
Thanks a lot.
[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/i86p c-sol
aris/DynaLoader.pm line 25.
BEGIN failed--compilation aborted at
/oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/5.6.1/i86p c
-solaris/DynaLoader.pm line 25.
Compilation failed in require at
/oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5.6.1
/i86pc-solaris/DBI.pm line 152.
BEGIN failed--compilation aborted at
/oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5
..6.1/i86pc-solaris/DBI.pm line 152.
Compilation failed in require at
/oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5.6.1
/i86pc-solaris/Oraperl.pm line 25.
BEGIN failed--compilation aborted at
/oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5
..6.1/i86pc-solaris/Oraperl.pm line 25.
Compilation failed in require at
/oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl line 33.
BEGIN failed--compilation aborted at
/oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl line
33.
Re: Perl lib version not match executable version
am 08.12.2006 13:07:54 von HMerrill
You may have more than one problem, but this one I
recognize - see this near the top of the errors
Premature end of script headers:
This means that your script is writing out an incomplete
html document, and it most likely means that the headers
are incomplete. IIRC, to begin your html document you
need to write out the Content-type line and then a blank
line and then you can start your html tag, like this
Content-type: text/html
This is the Title of My Document
your content goes here
HTH.
Hardy Merrill
>>> On 12/8/2006 at 1:33 AM, "Chong, Wei-Ling"
wrote:
> Hi Tim,
>
> Need your advise.
>
> 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?
>
> Thanks a lot.
>
> [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/i86p c-sol
> aris/DynaLoader.pm line 25.
> BEGIN failed--compilation aborted at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/5.6.1/i86p c
> -solaris/DynaLoader.pm line 25.
> Compilation failed in require at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5.6.1
> /i86pc-solaris/DBI.pm line 152.
> BEGIN failed--compilation aborted at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5
> .6.1/i86pc-solaris/DBI.pm line 152.
> Compilation failed in require at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5.6.1
> /i86pc-solaris/Oraperl.pm line 25.
> BEGIN failed--compilation aborted at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5
> .6.1/i86pc-solaris/Oraperl.pm line 25.
> Compilation failed in require at
> /oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl line 33.
> BEGIN failed--compilation aborted at
> /oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl line
> 33.
Re: Perl lib version not match executable version
am 08.12.2006 13:29:37 von jonathan.leffler
------=_Part_53876_20482396.1165580977279
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On 12/8/06, Hardy Merrill wrote:
>
> You may have more than one problem, [...one problem explained...]
>
> >>> On 12/8/2006 at 1:33 AM, "Chong, Wei-Ling"
> 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/i86p c-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 #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."
------=_Part_53876_20482396.1165580977279--
RE: Perl lib version not match executable version
am 08.12.2006 15:49:59 von rjk-dbi
Hardy Merrill [mailto:HMerrill@dhcr.state.ny.us] wrote:
>
> You may have more than one problem, but this one I
> recognize - see this near the top of the errors
>
> Premature end of script headers:
>
> This means that your script is writing out an incomplete
> html document, and it most likely means that the headers
> are incomplete.
That often happens when the script fails to compile. ;)
Ronald
RE: Perl lib version not match executable version
am 08.12.2006 16:15:45 von Wei-Ling.Chong
Thanks, but it does not happen to normal perl script that not using
oraperl.
How can I solve the perl version conflict problem?=20
I can't find the 5.6.1 for Solaris 10 x86.
I have installed DBI and DBD.
Please help.
-----Original Message-----
From: Ronald Kimball [mailto:rjk-dbi@focalex.com]=20
Sent: Friday, December 08, 2006 10:50 PM
To: 'Hardy Merrill'; Chong, Wei-Ling; dbi-users@perl.org
Subject: RE: Perl lib version not match executable version
=20
Hardy Merrill [mailto:HMerrill@dhcr.state.ny.us] wrote:
>=20
> You may have more than one problem, but this one I
> recognize - see this near the top of the errors
>=20
> Premature end of script headers:
>=20
> This means that your script is writing out an incomplete
> html document, and it most likely means that the headers
> are incomplete.
That often happens when the script fails to compile. ;)
Ronald
Re: Perl lib version not match executable version
am 08.12.2006 19:44:17 von csarnows
Well, you do have perl 5.6.1 already installed, but it is installed
as part of the OAS.
In your original email you said you were running Solaris 5.8. Did you
mean Perl 5.8?
Because you mention Solaris 10 below.
It seems from the error messages you originally sent that you have
gotten DBI and DBD
that were compiled against perl 5.8 to get installed into your perl
5.6.1 tree. But I may be missing something.
Is this a test machine? Are you running the latest OAS release, and
if not, can you upgrade that?
On Dec 8, 2006, at 10:15 AM, Chong, Wei-Ling wrote:
> Thanks, but it does not happen to normal perl script that not using
> oraperl.
> How can I solve the perl version conflict problem?
> I can't find the 5.6.1 for Solaris 10 x86.
> I have installed DBI and DBD.
> Please help.
[original error message]
> [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/i86p c-sol
> aris/DynaLoader.pm line 25.
> BEGIN failed--compilation aborted at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/5.6.1/i86p c
> -solaris/DynaLoader.pm line 25.
> Compilation failed in require at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5.6.1
> /i86pc-solaris/DBI.pm line 152.
> BEGIN failed--compilation aborted at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5
> .6.1/i86pc-solaris/DBI.pm line 152.
> Compilation failed in require at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5.6.1
> /i86pc-solaris/Oraperl.pm line 25.
> BEGIN failed--compilation aborted at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5
> .6.1/i86pc-solaris/Oraperl.pm line 25.
> Compilation failed in require at
> /oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl line 33.
> BEGIN failed--compilation aborted at
> /oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl line
> 33.
>
--
Christopher Sarnowski
csarnows@pcbi.upenn.edu
Penn Bioinformatics Core
1316 Blockley Hall MC 6021
(215) 746-7784
RE: Perl lib version not match executable version
am 12.12.2006 08:08:15 von Wei-Ling.Chong
Hi,
The same perl script put in other server, does not have this kind of
problem, it is not perl script html problem.
It sounds like there are two perl versions and conflict with Oraperl.
Please help.
-----Original Message-----
From: Hardy Merrill [mailto:HMerrill@dhcr.state.ny.us]=20
Sent: Friday, December 08, 2006 8:08 PM
To: Chong, Wei-Ling; dbi-users@perl.org
Subject: Re: Perl lib version not match executable version
You may have more than one problem, but this one I
recognize - see this near the top of the errors
Premature end of script headers:
This means that your script is writing out an incomplete
html document, and it most likely means that the headers
are incomplete. IIRC, to begin your html document you
need to write out the Content-type line and then a blank
line and then you can start your html tag, like this
Content-type: text/html
This is the Title of My Document
your content goes here
HTH.
Hardy Merrill
>>> On 12/8/2006 at 1:33 AM, "Chong, Wei-Ling"
wrote:
> Hi Tim,
>=20
> Need your advise.
>=20
> I have Solaris 5.8 (x86) server and running Oracle Application
Server, I
> install perl-5.8.7-sol10-x86-local.gz.
>=20
> When I run my perl script, I am getting error below. How to resolve
the
> problem?=20
>=20
> Thanks a lot.
>=20
> [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/i86p c-sol
> aris/DynaLoader.pm line 25.
> BEGIN failed--compilation aborted at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/5.6.1/i86p c
> -solaris/DynaLoader.pm line 25.
> Compilation failed in require at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5.6.1
> /i86pc-solaris/DBI.pm line 152.
> BEGIN failed--compilation aborted at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5
> .6.1/i86pc-solaris/DBI.pm line 152.
> Compilation failed in require at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5.6.1
> /i86pc-solaris/Oraperl.pm line 25.
> BEGIN failed--compilation aborted at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/site_perl/ 5
> .6.1/i86pc-solaris/Oraperl.pm line 25.
> Compilation failed in require at
> /oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl line 33.
> BEGIN failed--compilation aborted at
> /oracle/app/oracle/eq/web/cgi/ppcd/ppcd_approval_ora.pl line
> 33.
Re: Perl lib version not match executable version
am 12.12.2006 16:56:46 von jonathan.leffler
------=_Part_144886_9767284.1165939006986
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On 12/11/06, Chong, Wei-Ling wrote:
> The same perl script put in other server, does not have this kind of
> problem, it is not perl script html problem.
> It sounds like there are two perl versions and conflict with Oraperl.
> Please help.
How can we possibly help?
You need to ensure that the correct version of Perl is used by whatever is
working with your module. Clearly, there is something different about the
setup between the two machines; if there was no difference, you'd get the
same behaviour on both. You need to find that difference, and fix the
machine where things are broken to match the machine where things work.
--
Jonathan Leffler #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."
------=_Part_144886_9767284.1165939006986--
RE: Perl lib version not match executable version
am 15.12.2006 03:11:08 von Wei-Ling.Chong
------_=_NextPart_001_01C71FEE.48D06C02
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Normal perl script is working fine except those require Oraperl.
=20
=20
________________________________
From: Chong, Wei-Ling=20
Sent: Friday, December 15, 2006 10:05 AM
To: dbi-users@perl.org
Subject: RE: Perl lib version not match executable version
=20
I still having the problem with perl version conflict.
There is no 5.6.1 perl for Solaris 10 x86. Please help.
Thanks.
=20
=20
________________________________
From: Jonathan Leffler [mailto:jonathan.leffler@gmail.com]=20
Sent: Friday, December 08, 2006 8:30 PM
To: Hardy Merrill
Cc: Chong, Wei-Ling; dbi-users@perl.org
Subject: Re: Perl lib version not match executable version
=20
=20
On 12/8/06, Hardy Merrill wrote:
You may have more than one problem, [...one problem explained...]
>>> On 12/8/2006 at 1:33 AM, "Chong, Wei-Ling"
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?=20
>
> [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:=20
> /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.=20
> Compilation failed in require at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/5.6.1/i86p c-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.
--=20
Jonathan Leffler #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."=20
------_=_NextPart_001_01C71FEE.48D06C02--
RE: Perl lib version not match executable version
am 15.12.2006 09:18:51 von Wei-Ling.Chong
------_=_NextPart_001_01C72021.A72486D7
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Thread Previous
| Thread Next
=20
From:
Christopher Sarnowski
Date:
December 8, 2006 10:44
Subject:
Re: Perl lib version not match executable version
Well, you do have perl 5.6.1 already installed, but it is installed =20
as part of the OAS.
=20
=20
In your original email you said you were running Solaris 5.8. Did you =20
mean Perl 5.8?
Because you mention Solaris 10 below.
>>This machine is Solaris 10 x86, I have installed perl 5.8, gcc, DBI
and DBD into the machine after Oracle HTTP_Server installation.
=20
It seems from the error messages you originally sent that you have =20
gotten DBI and DBD
that were compiled against perl 5.8 to get installed into your perl =20
5.6.1 tree. But I may be missing something.
>> I also think the same as you but don't know how to solve it.
=20
Is this a test machine? Are you running the latest OAS release, and =20
if not, can you upgrade that?
=20
>>Yes, is latest 10g HTTP Server
=20
________________________________
From: Chong, Wei-Ling=20
Sent: Friday, December 15, 2006 10:11 AM
To: 'dbi-users@perl.org'
Subject: RE: Perl lib version not match executable version
=20
Normal perl script is working fine except those require Oraperl.
=20
=20
________________________________
From: Chong, Wei-Ling=20
Sent: Friday, December 15, 2006 10:05 AM
To: dbi-users@perl.org
Subject: RE: Perl lib version not match executable version
=20
I still having the problem with perl version conflict.
There is no 5.6.1 perl for Solaris 10 x86. Please help.
Thanks.
=20
=20
________________________________
From: Jonathan Leffler [mailto:jonathan.leffler@gmail.com]=20
Sent: Friday, December 08, 2006 8:30 PM
To: Hardy Merrill
Cc: Chong, Wei-Ling; dbi-users@perl.org
Subject: Re: Perl lib version not match executable version
=20
=20
On 12/8/06, Hardy Merrill wrote:
You may have more than one problem, [...one problem explained...]
>>> On 12/8/2006 at 1:33 AM, "Chong, Wei-Ling"
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?=20
>
> [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:=20
> /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.=20
> Compilation failed in require at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/5.6.1/i86p c-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.
--=20
Jonathan Leffler #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."=20
------_=_NextPart_001_01C72021.A72486D7--
RE: Perl lib version not match executable version
am 29.12.2006 00:50:40 von Wei-Ling.Chong
------_=_NextPart_001_01C72ADA.FADC345D
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
I have reinstalled the 10g HTTP Server and found it comes with Perl
5.6.1.
Now I would like to try to uninstall the perl I installed manually,
version 5.8.7.
=20
pngedms3% pkginfo -l | grep perl
PKGINST: SMCperl
NAME: perl
PKGINST: SUNWperl-xml-parser
PKGINST: SUNWperl-xml-parser-devel-share
PKGINST: SUNWperl584core
PKGINST: SUNWperl584man
PKGINST: SUNWperl584usr
=20
I tried command "pkginfo -l | grep perl" but the 5.8.7 is not listed,
how I can remove perl 5.8.7?=20
5.8.4 is the default perl installed in /usr/bin.=20
Please help.
Thanks.
=20
=20
________________________________
From: Chong, Wei-Ling=20
Sent: Friday, December 15, 2006 4:19 PM
To: 'dbi-users@perl.org'
Subject: RE: Perl lib version not match executable version
=20
Thread Previous
| Thread Next
=20
From:
Christopher Sarnowski
Date:
December 8, 2006 10:44
Subject:
Re: Perl lib version not match executable version
Well, you do have perl 5.6.1 already installed, but it is installed =20
as part of the OAS.
=20
=20
In your original email you said you were running Solaris 5.8. Did you =20
mean Perl 5.8?
Because you mention Solaris 10 below.
>>This machine is Solaris 10 x86, I have installed perl 5.8, gcc, DBI
and DBD into the machine after Oracle HTTP_Server installation.
=20
It seems from the error messages you originally sent that you have =20
gotten DBI and DBD
that were compiled against perl 5.8 to get installed into your perl =20
5.6.1 tree. But I may be missing something.
>> I also think the same as you but don't know how to solve it.
=20
Is this a test machine? Are you running the latest OAS release, and =20
if not, can you upgrade that?
=20
>>Yes, is latest 10g HTTP Server
=20
________________________________
From: Chong, Wei-Ling=20
Sent: Friday, December 15, 2006 10:11 AM
To: 'dbi-users@perl.org'
Subject: RE: Perl lib version not match executable version
=20
Normal perl script is working fine except those require Oraperl.
=20
=20
________________________________
From: Chong, Wei-Ling=20
Sent: Friday, December 15, 2006 10:05 AM
To: dbi-users@perl.org
Subject: RE: Perl lib version not match executable version
=20
I still having the problem with perl version conflict.
There is no 5.6.1 perl for Solaris 10 x86. Please help.
Thanks.
=20
=20
________________________________
From: Jonathan Leffler [mailto:jonathan.leffler@gmail.com]=20
Sent: Friday, December 08, 2006 8:30 PM
To: Hardy Merrill
Cc: Chong, Wei-Ling; dbi-users@perl.org
Subject: Re: Perl lib version not match executable version
=20
=20
On 12/8/06, Hardy Merrill wrote:
You may have more than one problem, [...one problem explained...]
>>> On 12/8/2006 at 1:33 AM, "Chong, Wei-Ling"
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?=20
>
> [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:=20
> /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.=20
> Compilation failed in require at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/5.6.1/i86p c-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.
--=20
Jonathan Leffler #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."=20
------_=_NextPart_001_01C72ADA.FADC345D--
RE: Perl lib version not match executable version
am 05.01.2007 03:05:21 von Wei-Ling.Chong
------_=_NextPart_001_01C7306D.F45FD480
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Anyone can help?
Thanks.
=20
=20
________________________________
From: Chong, Wei-Ling=20
Sent: Friday, December 29, 2006 7:51 AM
To: Chong, Wei-Ling; 'dbi-users@perl.org'
Subject: RE: Perl lib version not match executable version
=20
I have reinstalled the 10g HTTP Server and found it comes with Perl
5.6.1.
Now I would like to try to uninstall the perl I installed manually,
version 5.8.7.
=20
pngedms3% pkginfo -l | grep perl
PKGINST: SMCperl
NAME: perl
PKGINST: SUNWperl-xml-parser
PKGINST: SUNWperl-xml-parser-devel-share
PKGINST: SUNWperl584core
PKGINST: SUNWperl584man
PKGINST: SUNWperl584usr
=20
I tried command "pkginfo -l | grep perl" but the 5.8.7 is not listed,
how I can remove perl 5.8.7?=20
5.8.4 is the default perl installed in /usr/bin.=20
Please help.
Thanks.
=20
=20
________________________________
From: Chong, Wei-Ling=20
Sent: Friday, December 15, 2006 4:19 PM
To: 'dbi-users@perl.org'
Subject: RE: Perl lib version not match executable version
=20
Thread Previous
| Thread Next
=20
From:
Christopher Sarnowski
Date:
December 8, 2006 10:44
Subject:
Re: Perl lib version not match executable version
Well, you do have perl 5.6.1 already installed, but it is installed =20
as part of the OAS.
=20
=20
In your original email you said you were running Solaris 5.8. Did you =20
mean Perl 5.8?
Because you mention Solaris 10 below.
>>This machine is Solaris 10 x86, I have installed perl 5.8, gcc, DBI
and DBD into the machine after Oracle HTTP_Server installation.
=20
It seems from the error messages you originally sent that you have =20
gotten DBI and DBD
that were compiled against perl 5.8 to get installed into your perl =20
5.6.1 tree. But I may be missing something.
>> I also think the same as you but don't know how to solve it.
=20
Is this a test machine? Are you running the latest OAS release, and =20
if not, can you upgrade that?
=20
>>Yes, is latest 10g HTTP Server
=20
________________________________
From: Chong, Wei-Ling=20
Sent: Friday, December 15, 2006 10:11 AM
To: 'dbi-users@perl.org'
Subject: RE: Perl lib version not match executable version
=20
Normal perl script is working fine except those require Oraperl.
=20
=20
________________________________
From: Chong, Wei-Ling=20
Sent: Friday, December 15, 2006 10:05 AM
To: dbi-users@perl.org
Subject: RE: Perl lib version not match executable version
=20
I still having the problem with perl version conflict.
There is no 5.6.1 perl for Solaris 10 x86. Please help.
Thanks.
=20
=20
________________________________
From: Jonathan Leffler [mailto:jonathan.leffler@gmail.com]=20
Sent: Friday, December 08, 2006 8:30 PM
To: Hardy Merrill
Cc: Chong, Wei-Ling; dbi-users@perl.org
Subject: Re: Perl lib version not match executable version
=20
=20
On 12/8/06, Hardy Merrill wrote:
You may have more than one problem, [...one problem explained...]
>>> On 12/8/2006 at 1:33 AM, "Chong, Wei-Ling"
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?=20
>
> [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:=20
> /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.=20
> Compilation failed in require at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/5.6.1/i86p c-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.
--=20
Jonathan Leffler #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."=20
------_=_NextPart_001_01C7306D.F45FD480--
Re: Perl lib version not match executable version
am 05.01.2007 13:26:15 von scoles
We will need a little more to go on.
OS, Version of DBI, DBD and what is missing
----- Original Message -----
From: "Chong, Wei-Ling"
To:
Sent: Thursday, January 04, 2007 9:05 PM
Subject: RE: Perl lib version not match executable version
Anyone can help?
Thanks.
________________________________
From: Chong, Wei-Ling
Sent: Friday, December 29, 2006 7:51 AM
To: Chong, Wei-Ling; 'dbi-users@perl.org'
Subject: RE: Perl lib version not match executable version
I have reinstalled the 10g HTTP Server and found it comes with Perl
5.6.1.
Now I would like to try to uninstall the perl I installed manually,
version 5.8.7.
pngedms3% pkginfo -l | grep perl
PKGINST: SMCperl
NAME: perl
PKGINST: SUNWperl-xml-parser
PKGINST: SUNWperl-xml-parser-devel-share
PKGINST: SUNWperl584core
PKGINST: SUNWperl584man
PKGINST: SUNWperl584usr
I tried command "pkginfo -l | grep perl" but the 5.8.7 is not listed,
how I can remove perl 5.8.7?
5.8.4 is the default perl installed in /usr/bin.
Please help.
Thanks.
________________________________
From: Chong, Wei-Ling
Sent: Friday, December 15, 2006 4:19 PM
To: 'dbi-users@perl.org'
Subject: RE: Perl lib version not match executable version
Thread Previous
| Thread Next
From:
Christopher Sarnowski
Date:
December 8, 2006 10:44
Subject:
Re: Perl lib version not match executable version
Well, you do have perl 5.6.1 already installed, but it is installed
as part of the OAS.
In your original email you said you were running Solaris 5.8. Did you
mean Perl 5.8?
Because you mention Solaris 10 below.
>>This machine is Solaris 10 x86, I have installed perl 5.8, gcc, DBI
and DBD into the machine after Oracle HTTP_Server installation.
It seems from the error messages you originally sent that you have
gotten DBI and DBD
that were compiled against perl 5.8 to get installed into your perl
5.6.1 tree. But I may be missing something.
>> I also think the same as you but don't know how to solve it.
Is this a test machine? Are you running the latest OAS release, and
if not, can you upgrade that?
>>Yes, is latest 10g HTTP Server
________________________________
From: Chong, Wei-Ling
Sent: Friday, December 15, 2006 10:11 AM
To: 'dbi-users@perl.org'
Subject: 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@perl.org
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@gmail.com]
Sent: Friday, December 08, 2006 8:30 PM
To: Hardy Merrill
Cc: Chong, Wei-Ling; dbi-users@perl.org
Subject: Re: Perl lib version not match executable version
On 12/8/06, Hardy Merrill wrote:
You may have more than one problem, [...one problem explained...]
>>> On 12/8/2006 at 1:33 AM, "Chong, Wei-Ling"
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/i86p c-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 #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."
RE: Perl lib version not match executable version
am 05.01.2007 20:52:57 von ron
On Fri, 5 Jan 2007 10:05:21 +0800, Chong, Wei-Ling wrote:
Hi
> Now I would like to try to uninstall the perl I installed manually,
> version 5.8.7.
Is this Perl in it's own directory? If so, delete that directory. If not,=
the
situation is far more complicated :-(.
--
Cheers
Ron Savage, ron@savage.net.au on 6/01/2007
http://savage.net.au/index.html
Let the record show: Microsoft is not an Australian company
RE: Perl lib version not match executable version
am 09.01.2007 03:30:16 von Wei-Ling.Chong
Hi John,
OS - Solaris 5.10 Generic_Patch i86pc i386 i86pc
DBI - 1.40
DBD - 1.14
-----Original Message-----
From: John Scoles [mailto:scoles@pythian.com]=20
Sent: Friday, January 05, 2007 8:26 PM
To: Chong, Wei-Ling; dbi-users@perl.org
Subject: Re: Perl lib version not match executable version
We will need a little more to go on.
OS, Version of DBI, DBD and what is missing
----- Original Message -----=20
From: "Chong, Wei-Ling"
To:
Sent: Thursday, January 04, 2007 9:05 PM
Subject: RE: Perl lib version not match executable version
Anyone can help?
Thanks.
=20
=20
________________________________
From: Chong, Wei-Ling=20
Sent: Friday, December 29, 2006 7:51 AM
To: Chong, Wei-Ling; 'dbi-users@perl.org'
Subject: RE: Perl lib version not match executable version
=20
I have reinstalled the 10g HTTP Server and found it comes with Perl
5.6.1.
Now I would like to try to uninstall the perl I installed manually,
version 5.8.7.
=20
pngedms3% pkginfo -l | grep perl
PKGINST: SMCperl
NAME: perl
PKGINST: SUNWperl-xml-parser
PKGINST: SUNWperl-xml-parser-devel-share
PKGINST: SUNWperl584core
PKGINST: SUNWperl584man
PKGINST: SUNWperl584usr
=20
I tried command "pkginfo -l | grep perl" but the 5.8.7 is not listed,
how I can remove perl 5.8.7?=20
5.8.4 is the default perl installed in /usr/bin.=20
Please help.
Thanks.
=20
=20
________________________________
From: Chong, Wei-Ling=20
Sent: Friday, December 15, 2006 4:19 PM
To: 'dbi-users@perl.org'
Subject: RE: Perl lib version not match executable version
=20
Thread Previous
| Thread Next
=20
From:
Christopher Sarnowski
Date:
December 8, 2006 10:44
Subject:
Re: Perl lib version not match executable version
Well, you do have perl 5.6.1 already installed, but it is installed =20
as part of the OAS.
=20
=20
In your original email you said you were running Solaris 5.8. Did you =20
mean Perl 5.8?
Because you mention Solaris 10 below.
>>This machine is Solaris 10 x86, I have installed perl 5.8, gcc, DBI
and DBD into the machine after Oracle HTTP_Server installation.
=20
It seems from the error messages you originally sent that you have =20
gotten DBI and DBD
that were compiled against perl 5.8 to get installed into your perl =20
5.6.1 tree. But I may be missing something.
>> I also think the same as you but don't know how to solve it.
=20
Is this a test machine? Are you running the latest OAS release, and =20
if not, can you upgrade that?
=20
>>Yes, is latest 10g HTTP Server
=20
________________________________
From: Chong, Wei-Ling=20
Sent: Friday, December 15, 2006 10:11 AM
To: 'dbi-users@perl.org'
Subject: RE: Perl lib version not match executable version
=20
Normal perl script is working fine except those require Oraperl.
=20
=20
________________________________
From: Chong, Wei-Ling=20
Sent: Friday, December 15, 2006 10:05 AM
To: dbi-users@perl.org
Subject: RE: Perl lib version not match executable version
=20
I still having the problem with perl version conflict.
There is no 5.6.1 perl for Solaris 10 x86. Please help.
Thanks.
=20
=20
________________________________
From: Jonathan Leffler [mailto:jonathan.leffler@gmail.com]=20
Sent: Friday, December 08, 2006 8:30 PM
To: Hardy Merrill
Cc: Chong, Wei-Ling; dbi-users@perl.org
Subject: Re: Perl lib version not match executable version
=20
=20
On 12/8/06, Hardy Merrill wrote:
You may have more than one problem, [...one problem explained...]
>>> On 12/8/2006 at 1:33 AM, "Chong, Wei-Ling"
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?=20
>
> [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:=20
> /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.=20
> Compilation failed in require at
> /oracle/app/oracle/product/oas10.1.2.0.2/perl/lib/5.6.1/i86p c-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.
--=20
Jonathan Leffler #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."=20