Path: secnews.netscape.com!rls@netscape.com
From: Rob McCool
Newsgroups: netscape.devs-nsapi
Subject: Re: grab send-cgi output? pipe service functions?
Date: Tue, 19 Nov 1996 16:57:31 -0800
> Yes, it'd be nice to be able to send additional pieces to
> LD_LIBRARY_PATH to the cgi - it appears at the moment that the server
> resets this variable (is this a security thing or me being braindead
> in setting it?). My solution (under solaris 2.5) was simply to copy
> the shared libraries my code used into /usr/lib. And get our hosting
> partner to do the same (well, after I explained what LD_LIBRARY_PATH
> was - they're not entirely competant)
Assuming you want the same value for LD_LIBRARY_PATH to be passed to all
of your programs, and you're using the 2.x servers, you should be able
to accomplish this with:
Init fn=init-cgi LD_LIBRARY_PATH=/foo/bar
--
Rob McCool, robm@netscape.com http://home.netscape.com/people/robm/
Stunt Programmer, Netscape Communications Corporation
It was working ten minutes ago, I swear...
Reproduced by permission of the author.