Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

RE: Apache2::Request undefined symbol

Paul Cameron

2008-07-07

Replies: Find Java Web Hosting

Author LoginPost Reply
Yes, it's there. I just found the problem.

The 'aptitude' package manager installed the libapreq2 package but
unfortunately, it didn't create the symbolic link that's required in the
apache2/mods-enabled directory pointing to
apache2/mods-available/apreq.load. So, when the server started, it
didn't load mod_apreq2.so.

Thanks for your help, anyway.

-----Original Message-----
From: Heiko Jansen [mailto:jansen@(protected)]
Sent: Monday, 7 July 2008 5:15 PM
To: modperl@(protected)
Subject: Re: Apache2::Request undefined symbol



Am Montag, den 07.07.2008, 08:31 +1000 schrieb Paul Cameron:
> I installed the library package 'libapreq2' on an Ubuntu 7.10 distro,
> and tried dereferencing the 'Apache2::Request' module in a mod_perl
> script, but it crashed with '/usr/sbin/apache2: symbol lookup error:
>
> /usr/lib/perl5/auto/APR/Request/Apache2/Apache2.so: undefined symbol:
> apreq_handle_apache2'.
>
> I ran 'nm' on libapreq2.so.3 and it returned
> "nm: /usr/lib/libapreq2.so.3: no symbols".
>
> Can anyone help with this?

Did you put

LoadModule apreq_module modules/mod_apreq2.so

in your httpd.conf?

Heiko

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.