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: '[email protected]' 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: [email protected] 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:[EMAIL PROTECTED] Sent: Friday, December 08, 2006 8:30 PM To: Hardy Merrill Cc: Chong, Wei-Ling; [email protected] Subject: Re: Perl lib version not match executable version On 12/8/06, Hardy Merrill <[EMAIL PROTECTED]> wrote: You may have more than one problem, [...one problem explained...] >>> On 12/8/2006 at 1:33 AM, "Chong, Wei-Ling" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED] > #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."
