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