Re: weird error after upgrade of cpan libs

Fred Moyer <[email protected]> Wed, 2 Feb 2011 12:59:52 -0800
Newsgroups gmane.comp.apache.apreq
Message-ID <[email protected]>
Did you build mod_perl with /usr/bin/perl or another binary?

Did you 'LoadModule perl_module        modules/mod_perl.so'?

This looks like more of a mod_perl issue than apreq.

On Wed, Feb 2, 2011 at 12:44 PM, Mark Hedges <[email protected]> wrote:
>
> I upgraded some CPAN libs including Module::Build and
> ExtUtils::CBuilder and started running into some problems.
>
> https://rt.cpan.org/Public/Bug/Display.html?id=3D65382
>
> Hrmm, this seems to also affect cgi's in production:
>
> [Wed Feb 02 12:41:48 2011] [error] [client 64.22.103.163] /usr/bin/perl: =
symbol lookup error: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi=
/auto/APR/Request/Apache2/Apache2.so: undefined symbol: modperl_xs_sv2reque=
st_rec
>
> =A0#!/usr/bin/perl
>
> =A0use strict;
> =A0use warnings FATAL =3D> 'all';
> =A0use English '-no_match_vars';
> =A0use YAML;
> =A0use Apache2::Request;
> =A0my $r =3D shift;
> =A0my $req =3D Apache2::Request->new($r);
> =A0$r->print("Content-type: text/plain\n\n");
> =A0$r->print(Dump(\%ENV));
>
> Help?
>
> Mark
>
>