|
|
sybperl-l Archive
Up Prev Next
From: "Manjeet Kalsi" <manjeet dot kalsi at prudential dot com>
Subject: sybperl - cgi
Date: Oct 20 1999 6:36PM
When I try to run the script from prompt, it works fine but when
executed thru web I get the following error in apache error log:
at /usr/local/lib/perl5/site_perl/Sybase/CTlib.pm line 845
BEGIN failed--compilation aborted at /opt/WWW/apache/1.3.9/cgi-bin/main.pl line
40.
[Wed Oct 20 14:23:09 1999] [error] [client 48.115.5.33] Premature end of script
headers: /opt/WWW/apache/1.3.9/cgi-bin/main.pl
Can't load
'/usr/local/lib/perl5/site_perl/ultra-solaris/auto/Sybase/CTlib/CTlib.so' for
module
Sybase::CTlib: ld.so.1: /usr/local/bin/perl: fatal: libct.so: open failed: No
such file or directory at
/usr/local/lib/perl5/DynaLoader.pm line 140.
at /usr/local/lib/perl5/site_perl/Sybase/CTlib.pm line 845
BEGIN failed--compilation aborted at /opt/WWW/apache/1.3.9/cgi-bin/main.pl line
40.
[Wed Oct 20 14:33:57 1999] [error] [client 48.115.5.33] Premature end of script
headers: /opt/WWW/apache/1.3.9/cgi-bin/main.pl
I already have the following in the prog.
BEGIN
{
$ENV{SYBASE} = "/opt/WWW/sybase/12beta";
}
dbsetifile ("/opt/WWW/sybase/12beta/interfaces");
Any ideas ???
Thanks
Manjeet
|