Re: Error on install of mod_perl2: Cannot load mod_perl.so into server: Symbol not found: _modperl_handler_name
Andy Colson <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
>> On 9/10/2012 7:53 AM, Faith Bazley wrote: >>> Hi, >>> >>> I'm having trouble installing mod_perl-2.0.7 and for the life of me I >>> can't get it to work. I have had no problems installing other modules. >>> >>> From the source directory /usr/local/src, unpack the mod_perl-2.0.7 >>> source, enter the directory and run the following >>> >>> perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs >>> >>> then "make" >>> then "make test", which is where I am getting the error below. Some kind >>> of syntax error. Please help. >>> >>> >>> /usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl-2.0.7/t -f >>> /usr/local/src/mod_perl-2.0.7/t/conf/httpd.conf -D APACHE2 >>> using Apache/2.2.22 (prefork MPM) >>> >>> waiting 120 seconds for server to start: .[Mon Sep 10 20:16:25 2012] >>> [warn] module apreq_module is already loaded, skipping >>> *httpd: Syntax error on line 22 of >>> /usr/local/src/mod_perl-2.0.7/t/conf/httpd.conf: Cannot load >>> /usr/local/src/mod_perl-2.0.7/src/modules/perl/mod_perl.so into server: >>> dlopen(/usr/local/src/mod_perl-2.0.7/src/modules/perl/mod_perl.so, 10): >>> Symbol not found: _modperl_handler_name\n Referenced from: >>> /usr/local/src/mod_perl-2.0.7/src/modules/perl/mod_perl.so\n Expected >>> in: dynamic lookup\n* >>> >>> *** /usr/local/bin/perl -V >>> Summary of my perl5 (revision 5 version 16 subversion 1) configuration: >>> Platform: >>> osname=darwin, osvers=11.4.0, archname=darwin-2level >>> uname='darwin faiths-macbook-pro.local 11.4.0 darwin kernel version >>> 11.4.0: mon apr 9 19:32:15 pdt 2012; root:xnu-1699.26.8~1release_x86_64 >> >> >> Yeah.. I can't get mod_perl to work with 5.16.1 either. The release >> notes said 5.16... but I'm betting 5.16.1 broke something. >> >> -Andy >> On 9/10/2012 10:00 AM, Doug Hunt wrote:> Hi Andy: I just got a dynamic mod_perl to build (and work properly) > under Linux: > > perl 5.16.1 > mod_perl 2.0.8 > apache 2.2.22 > > So I don't think that perl 5.16.X broke all mod_perl builds. > > Regards, > > Doug Hunt > > [email protected] > Software Engineer > UCAR - COSMIC, Tel. (303) 497-2611 > > On Mon, 10 Sep 2012, Andy Colson wrote: > 2.0.8? Is that in subversion? I'll check it out and give it a try. -Andy