Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC1

Fred Moyer <[email protected]> Tue, 2 Jun 2015 10:45:31 -0700
Newsgroups gmane.comp.apache.mod-perl.devel
Message-ID <CAHrynWAsCUgnuWBGABx+FUw0S-bAw5PJQWLFb7EXQoKOSQs26w__17890.0769133636$1433267208$gmane$org@mail.gmail.com>
I've been struggling with this same issue on OS X. Jan K. indicated
that it was the result of perlbrew, httpd, and mod_perl not all being
built with the same C compiler. I had tried to get everything built
with gcc, but I had to symlink /usr/bin/cc to gcc instead of clang,
and even then I think other parts of my toolchain were still using
clang based utilities.

On Tue, Jun 2, 2015 at 10:24 AM, David E. Wheeler <[email protected]> wrote:
> On May 13, 2015, at 3:52 PM, David E. Wheeler <[email protected]> wrote:
>
>> Tested builds on CentOS 6 and 7, with the system Perl and a custom 5.20 build. Both build nicely, with just a simple patch for the system Perl wanting a header with “CentOS” in it instead of “Unix”. Yay!
>
> Having difficulting testing against my Perlbrew-installed 5.22.0 and Apache 2.2.27 on OS X:
>
> waiting 120 seconds for server to start: .[Tue Jun 02 10:20:16 2015] [warn] module apreq_module is already loaded, skipping
> httpd: Syntax error on line 70 of /Users/david/Desktop/mod_perl-2.0.9-rc1/t/conf/httpd.conf: Cannot load /Users/david/Desktop/mod_perl-2.0.9-rc1/src/modules/perl/mod_perl.so into server: dlopen(/Users/david/Desktop/mod_perl-2.0.9-rc1/src/modules/perl/mod_perl.so, 10): Symbol not found: _modperl_handler_name
>   Referenced from: /Users/david/Desktop/mod_perl-2.0.9-rc1/src/modules/perl/mod_perl.so
>   Expected in: dynamic lookup
>
> Best,
>
> David
>