Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: CGI error
Date: Jul 29 1999 2:38PM
Dan Page writes:
> I tried setting this variable before the use Sybase::DBlib statement and still
> got the error; Do I need to get the web admin involved to set it there. We're
> using Netscape Enterprise server.
Setting LD_LIBRARY_PATH can only affect children of the current
process, not the process itself (because it would has to affect ld.so
(the dynamic loader) and you can't do that from within a running
So yes you need to get your admin incolved...
> Dan Page writes:
> > using Sybase::DBlib & Perl5.002
> > I am getting the following error in my browser
> > at /usr/local/lib/perl5/Sybase/DBlib.pm line 304 BEGIN failed--compilation
> > aborted at /home/dpage/cgi-bin/test.cgi line 4.
> > line 4 is use Sybase::Dblib;
> > the program runs find from the command line
> You probably need to have LD_LIBRARY_PATH set before your CGI script
> If you are using Apache, you can set it in the httpd.conf file:
> SetEnv LD_LIBRARY_PATH /opt/sybase/lib # or whatever
> Michael Peppler -||- Data Migrations Inc.
> email@example.com -||- http://www.mbay.net/~mpeppler
> Int. Sybase User Group -||- http://www.isug.com
> Sybase on Linux mailing list: firstname.lastname@example.org
Michael Peppler -||- Data Migrations Inc.
email@example.com -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: firstname.lastname@example.org