Re: mod_perl works BUT rtld errors with some modules.

Michael Peters <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On 12/17/2009 04:25 PM, [email protected] wrote:
> BTW apache is starting as root and I have confirmed that startup.pl is
> being run as root by apache/mod_perl
> I am going to look in more detail at what DynaLoader.pm does in case
> this gives any clues.

Not sure if this helps or not, but on some systems LD_LIBRARY_PATH can't 
be set by the same process that uses it. So you need it set by the 
process that starts the process that uses. So for instance, you need to 
make sure it's set in your shell environment and that it gets exported 
to the commands you run (sometimes "su" can remove ENV vars). And then 
you'll need a "PassEnv LD_LIBRARY_PATH" and a "PerlPassEnv 
LD_LIBRARY_PATH". But you can't do a "SetEnv LD_LIBRARY_PATH" in your 
httpd.conf.

Not sure if that will help or not though since it's been a while since 
I've touched AIX.

-- 
Michael Peters
Plus Three, LP
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.