mod_perl works BUT rtld errors with some modules.

2009-12-16 Thread greg . george
Hi List, I have Apache/2.2.11 mod_perl/2.0.4 Perl/v5.10.1 all built with gcc on AIX 5.3 Mod_perl works for simple scripts. Adding 'use ARS.pm' to startup.pl causes the following error: [error] Can't load '/opt/apache/perl/lib/site_perl/5.10.1/aix/auto/ARS/ARS.so' for module ARS: rtld: 0712-001

Re: mod_perl works BUT rtld errors with some modules.

2009-12-17 Thread Perrin Harkins
On Wed, Dec 16, 2009 at 10:41 PM, wrote: > [error] Can't load > '/opt/apache/perl/lib/site_perl/5.10.1/aix/auto/ARS/ARS.so' for module ARS: > rtld: 0712-001 Symbol xdr_sizeof was referenced >       from module > /opt/apache/perl/lib/site_perl/5.10.1/aix/auto/ARS/ARS.so(), but a runtime > definiti

Re: mod_perl works BUT rtld errors with some modules.

2009-12-17 Thread greg . george
Hi Perrin, Yes I compiled it just after compiling perl. Perl, apache, mod_perl and a number of modules I need were all compiled with the same compiler on the same machine. I have recompiled and installed ARS (just in case I am losing my mind) but still have the same problem. Note that I can ru

Re: mod_perl works BUT rtld errors with some modules.

2009-12-17 Thread Michael Peters
On 12/17/2009 04:25 PM, greg.geo...@orica.com 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

Re: mod_perl works BUT rtld errors with some modules.

2009-12-17 Thread Fred Moyer
On Thu, Dec 17, 2009 at 1:29 PM, Michael Peters wrote: > On 12/17/2009 04:25 PM, greg.geo...@orica.com 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

Re: mod_perl works BUT rtld errors with some modules.

2009-12-17 Thread greg . george
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 solution. Thanks heaps guys for the pointers. Fred Moyer wrote on 18/12/2009 08:38:34