You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Igor Shevchenko <ig...@carcass.ath.cx> on 2005/04/12 15:51:22 UTC

mod_perl2 rc5 & apreq2 from multi-env-unstable

Hi all,

Im trying to use mod_perl2 rc5 with apreq2 from multi-env-unstable branch. 

Apache starts, but when I do the folling:

Apache2::Request->new ( $_[0] );

(where $_[0] is Apache2::RequestRec object), httpd dies with:

/etc/httpd/bin/httpd: symbol lookup 
error: /usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-64int/auto/APR/Request/Apache2/Apache2.so: 
undefined symbol: apreq_handle_apache2

"strings /usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi-64int/auto/APR/Request/Apache2/Apache2.so 
| grep apreq_handle_apache" gives "apreq_handle_apache2"

httpd-apre2 source has both apreq_handle_apache2 and apreq_handle_apache 
symbols. Changing apreq_handle_apache to apreq_handle_apache2 didn't helped.

Please sched some light on this! :) Looks like mod_perl2 will be released rsn; 
apreq2 is a must-have :)

-- 
Best Regards,
Igor Shevchenko

Re: mod_perl2 rc5 & apreq2 from multi-env-unstable

Posted by Joe Schaefer <jo...@sunstarsys.com>.
Igor Shevchenko <ig...@carcass.ath.cx> writes:

> Hi all,
>
> Im trying to use mod_perl2 rc5 with apreq2 from multi-env-unstable
> branch.  

[...]

> undefined symbol: apreq_handle_apache2

We renamed mod_apreq.so to mod_apreq2.so, and the multi-env-unstable 
branch doesn't alter your apache server's config file on installation.
You have to do that manually now, and we need to document this fact
somewhere.

-- 
Joe Schaefer