PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: jaiveer dot narwal-glb at bankerstrust dot com
Subject: RE: CGI-Sybperl problem
Date: Sep 29 1998 8:49PM


Robert,

 %SYBASE%\dll is in the  env var already in the system path and as well as
in user path.

thanx.
jaiveer

Original Message from rlang@lincap.com @ HUB on 09/29:



Is the %SYBASE%\dll path in your system path and not just your user
path?

Regards,

Robert Lang


-----Original Message-----
From:     jaiveer.narwal-glb@bankerstrust.com
[SMTP:jaiveer.narwal-glb@bankerstrust.com]
Sent:     Tuesday, September 29, 1998 2:51 PM
To:  SybPerl Discussion List
Subject:  CGI-Sybperl problem



Hi,

We are having  problem in executing  Sybperl CGI script from Web
Browser.
Sybperl Script works fine from command line. It connects to Sybase
and
produces the correct result in HTML format
which can be viewed in a web browser. So I dont think if there is any
coding problem in the Sybperl CGI script.

I tried setting SYBASE env in the script .
I also tried  setting  @INC variable to the value I got from command
line
execution of the script.  - didn't work

Our script works if we comment "use Sybase::Dblib" line. At least we
get
some HTML form on the browser.  Script fails at  "use Sybase::DBlib"
line.
???

Version info :

Sybase  Open Client 11.1.1
Perl version = 5.00502  ( Activestate perl )
SYBPERL = 2.09_03
Webserver = Microsoft Internet Information Server 4.0
Windows NT - 4.0 with Service pack 3

@INC=C:\Program Files\Sybase\Shared\Open Client
C:\Perl\5.00502\lib/MSWin32-x86-object
C:\Perl\5.00502\lib C:\Perl\site\5.00502\lib/MSWin32-x86-object
C:\Perl\site\5.00502\lib

Script does not produce any error message in the browser.  Webserver
error
log doesnt say much except ,  error number 500 which means internal
error
in executing the script.

Are we missing some env variables ??  Or what is the correct version
of
Sybperl/Perl  that we should be using ?

Thanx,
Jaiveer