Artem Harutyunyan wrote:
> However,
> when I run the script under apache (with mod_perl) I see that
> LD_LIBRARY_PATH is ignored (I mean it seems to load the libraries from
> another location). How can I fix the problem ?

What OS are you running? I know at least for linux LD_LIBRARY_PATH is special
(for security reasons). It can't be set from within the process that's going to
need it. It must be set from outside.

I've fixed this by setting it in my script that starts/stops apache.

> 2) I have several installations of perl. How can I find out (and change
> if necessary) which one is used by mod_perl ?

mod_perl doesn't pick a perl binary to use. It is a Perl interpreter. And it's
the same version that you compiled it against. The only way to change it's
version is to recompile mod_perl using another perl binary.

-- 
Michael Peters
Developer
Plus Three, LP

Reply via email to