perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: mod_perl works BUT rtld errors with some modules.
Date Thu, 17 Dec 2009 22:19:43 GMT
Thanks guys, seems that AIX does some trickery when there is setuid stuff.
I tried running on port 8080 as a normal users and it works fine.
I will solve the situation and then post back so others can find the 
Thanks heaps guys for the pointers.

Fred Moyer <> wrote on 18/12/2009 08:38:34 AM:
> On Thu, Dec 17, 2009 at 1:29 PM, Michael Peters <> 
> > On 12/17/2009 04:25 PM, wrote:
> >>
> >> BTW apache is starting as root and I have confirmed that 
> >> being run as root by apache/mod_perl
> >> I am going to look in more detail at what 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 
> > 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 
> > LD_LIBRARY_PATH" and a "PerlPassEnv LD_LIBRARY_PATH". But you can't do 
> > "SetEnv LD_LIBRARY_PATH" in your httpd.conf.
> >
> > Not sure if that will help or not though since it's been a while since 
> > touched AIX.
> I remember LD_LIBRARY_PATH issues a few years ago with 64bit and
> libpaths in /usr/lib64 etc.  I was able to resolve that by adding the
> paths to /etc/ or something similar and then running
> ldconfig to update the system library paths.  No such facility in AIX:

Please consider the environment before printing this e-mail.

This message is intended solely for the individual(s) and entity(s) addressed. It is confidential
and may contain legally privileged information. The use, copying or distribution of this 
message or any information it contains, by anyone other than the addressee, is prohibited.
If you have received this message in error, please notify The mailbox
from which this message has been sent is for business mail only. Mail sent to it may be subject
to security scanning and delivery on non-business messages sent to this address may not occur.

Thank you.

View raw message