On Tue, Oct 27, 2009 at 7:15 PM, Allan <cr4...@gmail.com> wrote:

> Hello,
>
> I'm trying to get the Apache2 perl modules to work properly. My system is
> FreeBSD 7.2-RELEASE and I'm using perl 5.8.9. I've installed the following
> from ports:
>
> libapreq2
> p5-libapreq2
> mod_perl2
>
> Upon initial testing, I noticed that with
>
> LoadModule apreq_module libexec/apache22/mod_apreq2.so
> LoadModule perl_module libexec/apache22/mod_perl.so
>
> In the Apache configuration file, whenever I run a perl script containing
> any of the Apache2 modules (Apache2::Cookie for example) it will cause the
> child process to seg fault as shown here:
>
> [Wed Oct 28 18:22:56 2009] [notice] child pid 62128 exit signal
> Segmentation fault (11)
>
> So to take Apache out of the equations I ran a simple one liner to see what
> happens.
>
> # perl -MApache2::Request -e '$req = Apache2::Request::->new();'
> /libexec/ld-elf.so.1:
> /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/APR/Request/Apache2/Apache2.so:
> Undefined symbol "modperl_xs_sv2request_rec"
>
>
That symbol is in mod_perl.so, which is only available within the Apache2
environment.

If you manually build libapreq2 against the installed Apache2/mod_perl, do
all the tests pass?

-- 
best regards,
Randy

Reply via email to