Re: Perl lib version not match executable version



On 12/8/06, Hardy Merrill <HMerrill@xxxxxxxxxxxxxxxx> 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@xxxxxxx>
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@xxxxxxxxx> #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."


Relevant Pages

  • ANNOUNCE: UnixODBC 0.31
    ... UnixODBC provides a toolkit for writing Perl ODBC clients. ... - Installing and Configuring the Bridge Server ... UnixODBC.pm provides Perl programs with a subset of the X/Open ... Bridge Server," below. ...
    (comp.lang.perl.modules)
  • POP3 Mail Client in PERL using IO::Socket module only and regular expressions
    ... I am writing a POP3 Client program in Perl. ... Server and have a running conversation with the mail server using ... print $socket "STAT",CRLF; ...
    (comp.lang.perl.misc)
  • Solved: Perl/NFS "Text File Busy" Error And Related Problems
    ... Â That means I am actually editing the Perl file on ... and I am running it on another (my server). ... The first problem I had was that when I saved my script through NFS, ... apt-get install nfs-kernel-server ...
    (Debian-User)
  • Perl on Linux and SQL Server 2000 on Windows
    ... There was a time when I did a lot of searching on ways to use Perl ... sitting on Linux to connect SQL Server 2000 sitting on Windows. ... cpan> install DBI ... Install FreeTDS ...
    (comp.os.linux.misc)
  • SOLVED: "Text File Busy" And Other Frustrating NFS/Perl Errors
    ... Perl file on one computer, ... and I am running it on another (my server). ... The first problem I had was that when I saved my script through NFS, ... searched newsgroups on Usenet and mailing lists and general Google searches ...
    (comp.lang.perl.misc)