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: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: sybperl - cgi
Date: Oct 21 1999 5:34PM

Manjeet Kalsi writes:
 > 
 > 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

You probably need to set LD_LIBRARY_PATH. Edit httpd.conf and add
	SetEnv LD_LIBRARY_PATH /opt/WWW/sybase/12beta/lib

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com