perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Harutyunyan" <har...@gmail.com>
Subject Re: Problem with loading dynamic libraries
Date Wed, 15 Aug 2007 16:25:22 GMT
Hi Michael,

Thank you very much for the exhaustive answer.

Artem.

On 8/15/07, Michael Peters <mpeters@plusthree.com> wrote:
>
> 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
>
>

Mime
View raw message