Perl lib version not match executable version

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.
Wei-Ling.Chong [ Fr, 08 Dezember 2006 07:33 ] [ ID #1561849 ]

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

<html>
<head>
<title>This is the Title of My Document</title>
</head>
<body>

your content goes here

</body>
</html>

HTH.

Hardy Merrill

>>> On 12/8/2006 at 1:33 AM, "Chong, Wei-Ling" <Wei-Ling.Chong [at] amd.com>
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.
HMerrill [ Fr, 08 Dezember 2006 13:07 ] [ ID #1561850 ]

Re: Perl lib version not match executable version

------=_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 <HMerrill [at] dhcr.state.ny.us> 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 [at] amd.com>
> 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 <jonathan.leffler [at] gmail.com> #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."

------=_Part_53876_20482396.1165580977279--
jonathan.leffler [ Fr, 08 Dezember 2006 13:29 ] [ ID #1561851 ]

RE: Perl lib version not match executable version

Hardy Merrill [mailto:HMerrill [at] 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
rjk-dbi [ Fr, 08 Dezember 2006 15:49 ] [ ID #1561852 ]

RE: Perl lib version not match executable version

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 Message-----
From: Ronald Kimball [mailto:rjk-dbi [at] focalex.com]
Sent: Friday, December 08, 2006 10:50 PM
To: 'Hardy Merrill'; Chong, Wei-Ling; dbi-users [at] perl.org
Subject: RE: Perl lib version not match executable version



Hardy Merrill [mailto:HMerrill [at] 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
Wei-Ling.Chong [ Fr, 08 Dezember 2006 16:15 ] [ ID #1561853 ]

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.

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 [at] pcbi.upenn.edu
Penn Bioinformatics Core
1316 Blockley Hall MC 6021
(215) 746-7784
csarnows [ Fr, 08 Dezember 2006 19:44 ] [ ID #1561854 ]

RE: Perl lib version not match executable version

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 [at] dhcr.state.ny.us]
Sent: Friday, December 08, 2006 8:08 PM
To: Chong, Wei-Ling; dbi-users [at] 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

<html>
<head>
<title>This is the Title of My Document</title>
</head>
<body>

your content goes here

</body>
</html>

HTH.

Hardy Merrill

>>> On 12/8/2006 at 1:33 AM, "Chong, Wei-Ling" <Wei-Ling.Chong [at] amd.com>
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.
Wei-Ling.Chong [ Di, 12 Dezember 2006 08:08 ] [ ID #1565928 ]

Re: Perl lib version not match executable version

------=_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 <Wei-Ling.Chong [at] amd.com> 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 <jonathan.leffler [at] gmail.com> #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."

------=_Part_144886_9767284.1165939006986--
jonathan.leffler [ Di, 12 Dezember 2006 16:56 ] [ ID #1565929 ]

RE: Perl lib version not match executable version

------_=_NextPart_001_01C72021.A72486D7
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Thread Previous
<http://beta.nntp.perl.org/group/perl.dbi.users/2006/12/msg30592.html>
| Thread Next
<http://beta.nntp.perl.org/group/perl.dbi.users/2006/12/msg30590.html>

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 [at] 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 [at] 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 [at] gmail.com]
Sent: Friday, December 08, 2006 8:30 PM
To: Hardy Merrill
Cc: Chong, Wei-Ling; dbi-users [at] perl.org
Subject: Re: Perl lib version not match executable version





On 12/8/06, Hardy Merrill <HMerrill [at] dhcr.state.ny.us> 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 [at] amd.com>
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 <jonathan.leffler [at] gmail.com > #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."


------_=_NextPart_001_01C72021.A72486D7--
Wei-Ling.Chong [ Fr, 15 Dezember 2006 09:18 ] [ ID #1569508 ]

RE: Perl lib version not match executable version

------_=_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.





________________________________

From: Chong, Wei-Ling
Sent: Friday, December 15, 2006 10:05 AM
To: dbi-users [at] 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 [at] gmail.com]
Sent: Friday, December 08, 2006 8:30 PM
To: Hardy Merrill
Cc: Chong, Wei-Ling; dbi-users [at] perl.org
Subject: Re: Perl lib version not match executable version





On 12/8/06, Hardy Merrill <HMerrill [at] dhcr.state.ny.us> 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 [at] amd.com>
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 <jonathan.leffler [at] gmail.com > #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."


------_=_NextPart_001_01C71FEE.48D06C02--
Wei-Ling.Chong [ Fr, 15 Dezember 2006 03:11 ] [ ID #1569509 ]

RE: Perl lib version not match executable version

------_=_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.



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 [at] perl.org'
Subject: RE: Perl lib version not match executable version



Thread Previous
<http://beta.nntp.perl.org/group/perl.dbi.users/2006/12/msg30592.html>
| Thread Next
<http://beta.nntp.perl.org/group/perl.dbi.users/2006/12/msg30590.html>

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 [at] 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 [at] 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 [at] gmail.com]
Sent: Friday, December 08, 2006 8:30 PM
To: Hardy Merrill
Cc: Chong, Wei-Ling; dbi-users [at] perl.org
Subject: Re: Perl lib version not match executable version





On 12/8/06, Hardy Merrill <HMerrill [at] dhcr.state.ny.us> 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 [at] amd.com>
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 <jonathan.leffler [at] gmail.com > #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."


------_=_NextPart_001_01C72ADA.FADC345D--
Wei-Ling.Chong [ Fr, 29 Dezember 2006 00:50 ] [ ID #1580572 ]

RE: Perl lib version not match executable version

------_=_NextPart_001_01C7306D.F45FD480
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Anyone can help?

Thanks.





________________________________

From: Chong, Wei-Ling
Sent: Friday, December 29, 2006 7:51 AM
To: Chong, Wei-Ling; 'dbi-users [at] 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 [at] perl.org'
Subject: RE: Perl lib version not match executable version



Thread Previous
<http://beta.nntp.perl.org/group/perl.dbi.users/2006/12/msg30592.html>
| Thread Next
<http://beta.nntp.perl.org/group/perl.dbi.users/2006/12/msg30590.html>

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 [at] 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 [at] 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 [at] gmail.com]
Sent: Friday, December 08, 2006 8:30 PM
To: Hardy Merrill
Cc: Chong, Wei-Ling; dbi-users [at] perl.org
Subject: Re: Perl lib version not match executable version





On 12/8/06, Hardy Merrill <HMerrill [at] dhcr.state.ny.us> 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 [at] amd.com>
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 <jonathan.leffler [at] gmail.com > #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."


------_=_NextPart_001_01C7306D.F45FD480--
Wei-Ling.Chong [ Fr, 05 Januar 2007 03:05 ] [ ID #1586405 ]

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 -----
From: "Chong, Wei-Ling" <Wei-Ling.Chong [at] amd.com>
To: <dbi-users [at] perl.org>
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 [at] 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 [at] perl.org'
Subject: RE: Perl lib version not match executable version



Thread Previous
<http://beta.nntp.perl.org/group/perl.dbi.users/2006/12/msg30592.html>
| Thread Next
<http://beta.nntp.perl.org/group/perl.dbi.users/2006/12/msg30590.html>

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 [at] 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 [at] 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 [at] gmail.com]
Sent: Friday, December 08, 2006 8:30 PM
To: Hardy Merrill
Cc: Chong, Wei-Ling; dbi-users [at] perl.org
Subject: Re: Perl lib version not match executable version





On 12/8/06, Hardy Merrill <HMerrill [at] dhcr.state.ny.us> 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 [at] amd.com>
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 <jonathan.leffler [at] gmail.com > #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."
scoles [ Fr, 05 Januar 2007 13:26 ] [ ID #1586407 ]

RE: Perl lib version not match executable version

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 [at] savage.net.au on 6/01/2007
http://savage.net.au/index.html
Let the record show: Microsoft is not an Australian company
ron [ Fr, 05 Januar 2007 20:52 ] [ ID #1586410 ]

RE: Perl lib version not match executable version

Hi John,
OS - Solaris 5.10 Generic_Patch i86pc i386 i86pc
DBI - 1.40
DBD - 1.14


-----Original Message-----
From: John Scoles [mailto:scoles [at] pythian.com]
Sent: Friday, January 05, 2007 8:26 PM
To: Chong, Wei-Ling; dbi-users [at] 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 -----
From: "Chong, Wei-Ling" <Wei-Ling.Chong [at] amd.com>
To: <dbi-users [at] perl.org>
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 [at] 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 [at] perl.org'
Subject: RE: Perl lib version not match executable version



Thread Previous
<http://beta.nntp.perl.org/group/perl.dbi.users/2006/12/msg30592.html>
| Thread Next
<http://beta.nntp.perl.org/group/perl.dbi.users/2006/12/msg30590.html>

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 [at] 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 [at] 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 [at] gmail.com]
Sent: Friday, December 08, 2006 8:30 PM
To: Hardy Merrill
Cc: Chong, Wei-Ling; dbi-users [at] perl.org
Subject: Re: Perl lib version not match executable version





On 12/8/06, Hardy Merrill <HMerrill [at] dhcr.state.ny.us> 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 [at] amd.com>
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 <jonathan.leffler [at] gmail.com > #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."
Wei-Ling.Chong [ Di, 09 Januar 2007 03:30 ] [ ID #1590095 ]
Perl » perl.dbi.users » Perl lib version not match executable version

Vorheriges Thema: Oraperl $ora_errno problem with $ora_fetch.
Nächstes Thema: Problems using an old version of DBI to connect to a remote Oracle 10g database