RE: Perl lib version not match executable version



Hi,
The same perl script put in other server, does not have this kind of
problem, it is not perl script html problem.
It sounds like there are two perl versions and conflict with Oraperl.
Please help.

-----Original Message-----
From: Hardy Merrill [mailto:HMerrill@xxxxxxxxxxxxxxxx]
Sent: Friday, December 08, 2006 8:08 PM
To: Chong, Wei-Ling; dbi-users@xxxxxxxx
Subject: Re: Perl lib version not match executable version

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@xxxxxxx>
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.




.



Relevant Pages

  • Re: Calling a perl script from an html doc
    ... How can I call a perl script from an html document when I have no web server ...
    (comp.lang.perl.misc)
  • Calling a perl script from an html doc
    ... How can I call a perl script from an html document when I have no web server ... it as an image in my local html doc? ...
    (comp.lang.perl.misc)
  • Re: multiple row updates in MYSQL using HTML
    ... > if the checkbox is checked incase you are updating most of the records ... >>all to another perl script to perform the update. ... >>I basically need maintenance of one table with unlimited rows containing ... HTML? ...
    (comp.lang.perl)
  • looking for a sample program
    ... I am looking for a perl script on a server that takes an email address input ... from a web user on a form on the html page and posts info to the email ...
    (comp.lang.perl.misc)
  • Re: CGI scripts and MSIE
    ... Last night I put a perl script into my cgi-bin directory and gave it some ... I would guess that you haven't specified in the HTML what the contents are. ... It's better to use the Perl CGI modules, ...
    (uk.comp.os.linux)