develooper Front page | perl.dbi.users | Postings from December 2006

Re: Perl lib version not match executable version

Thread Previous | Thread Next
From:
Hardy Merrill
Date:
December 8, 2006 04:08
Subject:
Re: Perl lib version not match executable version
Message ID:
45790F4A.F0BE.009A.0@dhcr.state.ny.us
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@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/i86pc-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/i86pc
> -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.

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