SPUG: Perl upgrade broke mod_perl.

William Rowden rowdenw at eskimo.com
Sun Mar 17 18:50:21 CST 2002


Usually I happily use Perl and leave its administration to someone
else.  Now, *I'm* the administrator, and I'm not certain where to
look.

Without warning me, Red Hat's up2date daemon upgraded Perl from 5.6.0
to 5.6.1 (never mind what the rest of the world uses).  This resulted
in the following mod_perl errors upon restarting Apache:

	[error] Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl) at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache.pm line 3.
	BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache.pm line 3.
	Compilation failed in require at (eval 1) line 3.

Since I personally use Perl but not mod_perl, and I'm accustomed to
someone else administering Perl, I upgraded mod_perl in the hope that
would fix it.  When that didn't work, I tried creating a symbolic link
from 5.6.0 to 5.6.1, but that produced errors like these:

	[error] Perl lib version (v5.6.1) doesn't match executable version (v5.6.0) at /usr/lib/perl5/5.6.0/i386-linux/Config.pm line 21.
	Compilation failed in require at /usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm line 25.
	BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm line 25.
	Compilation failed in require at /usr/lib/perl5/site_perl/5.6.0/i386-linux/mod_perl.pm line 4.
	BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.0/i386-linux/mod_perl.pm line 4.
	Compilation failed in require at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache.pm line 4.
	BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache.pm line 4.
	Compilation failed in require at (eval 1) line 3.

It seems I need to recompile something somewhere.  Would someone
suggest what?
-- 
    -William
When they find out who *you* are they'll pad the cell.



 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org





More information about the spug-list mailing list