Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Stepan, Jamison" <Jamison dot Stepan at state dot mn dot us>
Subject: RE: CGI with Apache and Sybperl on Red Hat 5.0/5.1
Date: Jun 8 1998 8:44PM

You may not have to. I was able to get DBD::ODBC working with Openlink's
ODBC drivers for linux going to an MSSQL server. 

I am using RedHat5.1.

If you want more specifics contact me and I can help you.


On Monday, June 08, 1998 3:36 PM,
[] wrote:
> Hello,
> Thanks for everyone's help on this, but one of the email replies I've
> received (not posted to the list) confirmed what I suspected, that it
> RedHat's use of glibc that is causing the problem.  I was going to try
> servers other than Apache, but apparently that approach has been tried
> before and does not work.  Looks like the only option is to back off
> RH4.2 for the time being.  At least until Sybase release a new version
> ctlib for linux compiled with glibc (if it happens at all).  Again,
> for all of your help.
> Regards,
> Nathan Harper
> -----Original Message-----
> From:
> []On Behalf Of
> Sent: Monday, June 08, 1998 3:04 PM
> To: SybPerl Discussion List
> Cc:
> Subject: Re: CGI with Apache and Sybperl on Red Hat 5.0/5.1
>      This isn't a Sybase problem or a SybPerl problem, it is a CGI
>      problem.  When you are outputting the headers, it is receiving a
>      premature ending.  If you post the relevant parts of the code,
>      someone might be able to help you here, but a better place to
>      would be someplace like comp.infosystems.www.cgi (I think that is
>      whole path), or, if you are interested in a mailing list, you
>      check out the HTML Writer's Guild at .  Two of
>      their mailing lists (-languages and -servers) would have people
>      to help you out in this situation.  HTH.
>      -JEV
>      John Erjavec V
> ______________________________ Reply Separator
> _________________________________
> Subject: CGI with Apache and Sybperl on Red Hat 5.0/5.1
> Author:  nathan ( at mtka-unix-mime
> Date:    6/8/98 11:54 AM
> Hi,
> I have built sybperl successfully on a Redhat 5.0 and 5.1 machine, but
> encountered the same problem using it with Apache in both cases. Here
> the specifics:
> - perl 5.004_04
> - sybperl 2.09_04
> - dynamically linked ctlib distribution
> - Apache 1.2.6 and 1.3.0
> Although building sybperl statically failed in every case that I
> building it dynamically was successful in that I could run scripts
from the
> command line without any problem.  However, when I tried to get CGI
> with Apache to run, they fail with a server error every time.  The
error log
> shows the generic 'premature end of script headers' error.  I don't
> that it is an environment variable problem or a problem with the
> file.  I've set the SYBASE environment var. explicitly with the SetEnv
> directive, I've tried using the more verbose error logging that Apache
> provides, but it gives me nothing more helpful than the above error
> The interfaces file that I'm using works fine with scripts run from
> command line, and with other Red Hat machines running 4.2. I'm
thinking that
> it is some sort of incompatibility between Apache and sybperl
resulting from
> the new glibc that Red Hat 5+ uses, but that is just a guess.
> If anyone out there has any suggestions (other than downgrading to
> they would be greatly appreciated.  I will downgrade as a last resort,
> if anyone has had success with RedHat 5.x, Sybperl and any web server
> just Apache), I'd like to hear about your experiences in order to help
> narrow down the source of the problem.
> Regards,
> Nathan Harper
> --
> Web Design Group, Inc.
> Ph: 312.951.6688
> Fx: 312.951.6588
> Email: