Re: [mp2] Test fails with undefined symbols on AIX [mod_perl 2.0.5/apache-2.2.22/perl-5.14.2]

Fred Moyer <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAHrynWD0X04VLKtTGBC83iOGEfEJhgyJA7MqfcBi=wgLPwiE4g@mail.gmail.com>
>  httpd: Syntax error on line 13 of .../t/conf/httpd.conf: Cannot load
> .../src/modules/perl/mod_perl.so into server: rtld: 0712-001 Symbol
> MUTABLE_CV was referenced\n      from module
> .../src/modules/perl/mod_perl.so(), but a runtime definition\n      of
> the symbol was not found.

We discovered this issue on the dev list also with 5.8.8, and are
rolling release candidate 6 shortly which should resolve this.


On Fri, Apr 20, 2012 at 12:27 AM, Peter Heimann <[email protected]> wrote:
> Here are a few more 'make test'results:
>
> Perl 5.8.8/Apache 2.2.22/mod_perl 2.0.4:
>  All t/apr-ext/* testcases successful
>
> Perl 5.8.8/Apache 2.2.22/mod_perl 2.0.6 rc5:
>  Test server fails to start:
>
>  Can't load '.../blib/arch/auto/ModPerl/Const/Const.so' for module
> ModPerl::Const: rtld: 0712-001 Symbol MUTABLE_CV was referenced
>      from module .../blib/arch/auto/ModPerl/Const/Const.so(), but a
> runtime definition
>      of the symbol was not found. at
> .../perl/lib/aix-thread-multi/DynaLoader.pm line 230.
>  ...
>  httpd: Syntax error on line 13 of .../t/conf/httpd.conf: Cannot load
> .../src/modules/perl/mod_perl.so into server: rtld: 0712-001 Symbol
> MUTABLE_CV was referenced\n      from module
> .../src/modules/perl/mod_perl.so(), but a runtime definition\n      of
> the symbol was not found.
>
>
> Perl 5.10.1/Apache 2.2.22/mod_perl 2.0.4:
>  t/apr-ext/brigade.t and other t/apr-ext/* tests fail:
>
>  Can't load '.../blib/arch/auto/APR/Brigade/Brigade.so' for module
> APR::Brigade: rtld: 0712-001 Symbol modperl_croak was referenced
>      from module .../blib/arch/auto/APR/Brigade/Brigade.so(), but a
> runtime definition
>      of the symbol was not found. at
> .../perl510/lib/5.10.1/aix-thread-multi/DynaLoader.pm line 200.
>  at .../blib/lib/APR/XSLoader.pm line 31
> Compilation failed in require at .../t/lib/TestAPRlib/brigade.pm line 15.
>
> Perl 5.10.1/Apache 2.2.22/mod_perl 2.0.6 rc5:
>  t/apr-ext/brigade.t and other t/apr-ext/* tests fail:
>
>  Can't load '.../blib/arch/auto/APR/Brigade/Brigade.so' for module
> APR::Brigade: rtld: 0712-001 Symbol modperl_croak was referenced
>      from module .../blib/arch/auto/APR/Brigade/Brigade.so(), but a
> runtime definition
>      of the symbol was not found. at
> .../perl510/lib/5.10.1/aix-thread-multi/DynaLoader.pm line 200.
>  at .../t/lib/TestAPRlib/brigade.pm line 15
> Compilation failed in require at .../t/lib/TestAPRlib/brigade.pm line 15.
>
> Perl 5.12.4/Apache 2.2.22/mod_perl 2.0.4:
> Perl 5.12.4/Apache 2.2.22/mod_perl 2.0.6 rc5:
>  Same test failures as with Perl 5.10.1
>
>
> All Perl versions have been configured with
>  ./Configure -d -Dcc=cc_r -Duseshrplib -Dusethreads -Dprefix=/some/path
>
> All mod_perl versions have been configured with
>  perl Makefile.PL MP_APXS=/usr/local/apache/bin/apxs
> (after changing the PATH definition to use the desired Perl version)
>
> --
> Peter Heimann
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.