Apache2 Errors: Cannot load mod_perl.so into server: libperl.so.1

Apache will produce this error if you recently updated your implementation of PERL but did not update or recompile mod_perl:

apache2: Syntax error on line 126 of /etc/apache2/httpd.conf: Syntax error on line 2 of /etc/apache2/modules.d/75_mod_perl.conf: Cannot load /usr/lib/apache2/modules/mod_perl.so into server: libperl.so.1: cannot open shared object file: No such file or directory

While you can easily re-emerge mod_perl it is instead recommended to run perl-cleaner to catch any other inconsistencies:

# perl-cleaner all


There are no comments for this item.