On Tue, Apr 24, 2001 at 10:26:58AM +0100, David Adams wrote:
> You could try
>
> BEGIN {
> $ENV{"ORACLE_HOME"}="/quiq/share/OracleClient";
> $ENV{"LD_LIBRARY_PATH"}="/quiq/share/OracleClient/lib";
> }
>
> in your script.
Tim's message from, ooh, 5 days ago might be relevant here:
> On Thu, Apr 19, 2001 at 04:57:31PM +0300, Agamemnon Kaimakis wrote:
> > Mark,
> >
> > I have tried that and it doesn't work in this case. It seems that
> > the env vars must be set before the loading of the perl
> > interpreter (e.g. through a wrapper script?).
>
> Only applies to LD_LIBRARY_PATH.
>
> Many httpd have a way to either set env vars or specify which should
> be 'passed through' to cgi's and child processes.
>
> Tim.
One could extrapolate that LD_LIBRARY_PATH has to be set externally,
whether a webserver is involved, or not...
--
Tommy Wareing
Software Engineer
Oxford English Dictionary
Oxford University Press