Posts Tagged ‘perl’

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

Portage Errors: dev-perl/DBD-mysql vs dev-perl/DBI

This is a very old bug but I’m covering it here anyway because it keeps popping up on dusty servers and I forget how to solve it.

If you do a world update on a box that hasn’t had one in about a year you might notice that dev-perl/DBD-mysql (in the case in front of me, 4.01.3) fails to compile and nothing you do with perl-cleaner seems to fix it. You need to force-rebuild dev-perl/DBI.

# emerge -1 dev-perl/DBI
Return top
foxpa.ws
Online Marketing Toplist
Internet
Technology Blogs - Blog Rankings

Internet Blogs - BlogCatalog Blog Directory

Technology blogs
Bad Karma Networks

Please Donate!


Made in Canada  •  There's a fox in the Gibson!  •  2010-12