Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Bugzilla / APACHE] Attempt to reload DynaLoader.pm aborted.

479 views
Skip to first unread message

rudel

unread,
Mar 15, 2011, 6:30:11 AM3/15/11
to
Hello,

I have to setup bugzilla on our ubuntu 10.4 server. As install guide I
used the Bugzilla-Guide_3.6.4 and worked from top to bottom.
Installing went fine, however, when adding the lines:

PerlSwitches -I /var/www/bugzilla-3.6.4/Bugzilla -I /var/www/
bugzilla-3.6.4/lib -w -T
PerlConfigRequire /var/www/bugzilla-3.6.4/mod_perl.pl

to httpd.conf I get the following error (I had to use -I because it
didn't find the templates):

root@Ubuntu:/etc/apache2/mods-available# /etc/init.d/apache2 restart
Syntax error on line 15 of /etc/apache2/httpd.conf:
Attempt to reload DynaLoader.pm aborted.\nCompilation failed in
require at /usr/lib/perl5/APR.pm line 18.\nBEGIN failed--compilation
aborted at /usr/lib/perl5/APR.pm line 18.\nCompilation failed in
require at /usr/lib/perl5/APR/Table.pm line 23.\nBEGIN failed--
compilation aborted at /usr/lib/perl5/APR/Table.pm line
23.\nCompilation failed in require at /usr/lib/perl5/ModPerl/
RegistryCooker.pm line 38.\nBEGIN failed--compilation aborted at /usr/
lib/perl5/ModPerl/RegistryCooker.pm line 38.\nCompilation failed in
require at /usr/lib/perl5/ModPerl/RegistryLoader.pm line 21.\nBEGIN
failed--compilation aborted at /usr/lib/perl5/ModPerl/
RegistryLoader.pm line 21.\nCompilation failed in require at /var/www/
bugzilla-3.6.4/mod_perl.pl line 32.\nBEGIN failed--compilation aborted
at /var/www/bugzilla-3.6.4/mod_perl.pl line 32.\nCompilation failed in
require at (eval 4) line 1.\n
Action 'configtest' failed.
The Apache error log may have more information.
...fail!

I am using Buzilla 3.6.4 and Perl 3.8.1 (had 3.10 previously, but
downgraded because I thought this might cause the error). Both Apache
and mod_perl are the newest installed using apt. Sendmail and all
other dependencies are installed.

I searched the internet for several hours now but could not find a
solution.

Hopefully you can help.

Thanks in Advance,
Daniel

Max Kanat-Alexander

unread,
Mar 21, 2011, 6:31:49 PM3/21/11
to support-...@lists.mozilla.org
On 03/15/2011 03:30 AM, rudel wrote:
> Hello,
>
> I have to setup bugzilla on our ubuntu 10.4 server. As install guide I
> used the Bugzilla-Guide_3.6.4 and worked from top to bottom.
> Installing went fine, however, when adding the lines:
>
> PerlSwitches -I /var/www/bugzilla-3.6.4/Bugzilla

That line is wrong, you do not want to -I "Bugzilla", just
"bugzilla-3.6.4".

> Attempt to reload DynaLoader.pm aborted.\nCompilation failed in
> require at /usr/lib/perl5/APR.pm line 18.

There is something wrong with your mod_perl installation.

> I am using Buzilla 3.6.4 and Perl 3.8.1 (had 3.10 previously, but

I assume you mean 5.8.1? That's a pretty old version of Perl....

> downgraded because I thought this might cause the error). Both Apache
> and mod_perl are the newest installed using apt.

I believe your mod_perl package needs to be compiled against the
version of Perl you have installed, so you should be using your distro's
package for Perl.

-Max
--
http://www.bugzillasource.com/
Competent, Friendly Bugzilla, Perl, and IT Services

0 new messages