You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/01/21 02:10:31 UTC

Re: [mp2] AIX cannot load compiled libraries

Kailden K wrote:
> 
> 1. Problem Description:
>  On AIX 4.3.3, for mod_perl version 1.99_12 (yesterday's CVS)
>  Compile seems to work but make test fails to load shared libraries, 
> outputting:
> 
>  t/TEST -bugreport -verbose=0
>  /usr/local/apache2/bin/httpd -d /home/xxx/install-src/modperl-2.0/t -f 
> /home/xxx/install-src/modperl-2.0/t/conf/httpd.conf -DAPACHE2 
> -DPERL_USEITHREADS
>  using Apache/2.0.46 (worker MPM)
> 
>  waiting 60 seconds for server to start: .....[Fri Nov 14 10:14:38 2003] 
> [error] Can't load 
> '/home/xx/install-src/modperl-2.0/blib/arch/auto/APR/Table/Table.so' for 
> module APR::Table:  at 
> /usr/local/lib/perl5/5.8.0/aix-thread-multi/DynaLoader.pm line 229.
> at /home/xxx/install-src/modperl-2.0/blib/lib/APR/XSLoader.pm line 16
> Compilation failed in require at 
> /home/xxx/install-src/modperl-2.0/t/conf/modperl_extra.pl line 39.
> BEGIN failed--compilation aborted at 
> /home/xxx/install-src/modperl-2.0/t/conf/modperl_extra.pl line 39.
> Compilation failed in require at 
> /home/xxx/install-src/modperl-2.0/t/conf/modperl_startup.pl line 17.
>        ...propagated at 
> /home/xxx/install-src/modperl-2.0/t/conf/modperl_startup.pl line 18.
> BEGIN failed--compilation aborted at 
> /home/xxx/install-src/modperl-2.0/t/conf/modperl_startup.pl line 20.
> Compilation failed in require at (eval 1) line 1.
> 
> [Fri Nov 14 10:14:38 2003] [error] Can't load Perl file: 
> /home/xxx/install-src/modperl-2.0/t/conf/modperl_startup.pl for server 
> loopback:8529, exiting...

Sorry, this email fell between the cracks in the floor. Do you have the same 
problem with the prefork mpm?

Please take a look at modperl-2.0/todo/bugs_build. Last time I've messed with 
the mp2 build on AIX I've cheated and used -berok to ignore linking errors, 
hoping that they will resolve at run time. I guess this is where it bites 
back. A proper solution, resolving symbols at build time, needs to be provided 
instead. If you know the AIX linker or know someone who does, a patch to do it 
properly would be very helpful.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org