Perl: the Markov chain saw | |
PerlMonks |
Re: error about INCby syphilis (Archbishop) |
on Jan 21, 2014 at 10:37 UTC ( [id://1071443]=note: print w/replies, xml ) | Need Help?? |
Can't locate lib.pm in @INC (@INC contains: /volumes/v1/qedms/opt/perl/lib/site_perl/5.14.1/sun4-solaris /volumes/v1/qedms/opt/perl/lib/site_perl/5.14.1 /volumes/v1/qedms/opt/perl/lib/5.14.1/sun4-solaris /volumes/v1/qedms/opt/perl/lib/5.14.1 .) You'll be getting that error whenever you run a script that tries to load the lib.pm module. Now, lib.pm ships as standard with perl, so I can think of only two reasons that this error might occur: 1) @INC is no longer correctly set; 2) lib.pm has been removed from its original location. I would guess that the problem is 2), not 1) ... but there's no way I can be sure about that. One would expect that lib.pm would *not* have originally been installed in any path that contains "site_perl", as such paths are usually reserved for *non-standard* modules ... so, we're left to guess that lib.pm would have been originally in one of the other @INC locations. The good news is that, AFAIK, lib.pm is a pure perl module - so just grab it from anywhere and stick it in any one of the @INC locations, and all should be fine. (It doesn't really matter which @INC directory it's put in.) The bad news is "what else went missing ??" ;-) Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|