The stupid question is the question not asked | |
PerlMonks |
Is PERL5LIB Problem Associated with Perl RPM Upgrade?by dave_aiello (Pilgrim) |
on Nov 26, 2002 at 06:15 UTC ( [id://215797]=perlquestion: print w/replies, xml ) | Need Help?? |
dave_aiello has asked for the wisdom of the Perl Monks concerning the following question:
I have been building a test server with RedHat 7.2 to experiment with Interchange 4.8.6. RedHat 7.2 came with Perl 5.6.0, but I had to upgrade to 5.6.1 because of dependency issues with some of the RPMs that are part of Interchange. When I upgraded from Perl 5.6.0 to 5.6.1, my PERL5LIB was apparently left unchanged. As a result, all of the entries in PERL5LIB still point to the directories for Perl 5.6.0 instead of 5.6.1. In a situation where I was writing a very simple Perl application entirely by myself, I'd probably just do use lib qw(/usr/lib/perl5/5.6.1/i386/linux ...); and not worry about it. But it's not that simple in this case. I even have problems with Apache because when I run /usr/sbin/apachectl start, I get "Cant locate strict.pm in @INC" when strict.pm is simply in the 5.6.1 directories instead of 5.6.0. So, my questions:
Dave Aiello
Back to
Seekers of Perl Wisdom
|
|