develooper Front page | perl.dbi.users | Postings from January 2007

RE: Perl lib version not match executable version

Thread Previous | Thread Next
From:
Chong, Wei-Ling
Date:
January 5, 2007 02:48
Subject:
RE: Perl lib version not match executable version
Message ID:
B5637056CFD85C4698EEE31D86178E070179BDBD@spngexmb3.amd.com
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
<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@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 <HMerrill@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@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/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@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." 


Thread Previous | 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