loris has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
In a cargo-cult programming moment several years ago I decided it was a good idea to install stuff from CPAN to an NFS share int the following way:
perl -MCPAN -Mlocal::lib=/cm/shared/apps/perl5 -e 'CPAN::install(Acme::Bleach)'The system Perl is 5.10. However, after fiddling around with 5.20 installed via RedHat's Software Collections, I seem to have borked some of the modules on the NFS share and am getting errors like:
Can't load '/cm/shared/apps/perl5/lib/perl5/x86_64-linux-thread-multi/ +auto/PadWalker/PadWalker.so' for module PadWalker: libperl.so.rh-perl +520-5.20: cannot open shared object file: No such file or directory a +t /usr/lib64/perl5/DynaLoader.pm line 200. at /cm/shared/apps/perl5/lib/perl5/x86_64-linux-thread-multi/Devel/Ca +ller.pm line 5.
My assumption is that I need to force a reinstall of the affected modules on the NFS share. How would I do this with some variant of the method used to install the modules or some other way?
Thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Force reinstall on NFS via CPAN::install (or other method)?
by marto (Cardinal) on Dec 21, 2017 at 11:54 UTC | |
by loris (Hermit) on Dec 21, 2017 at 12:35 UTC | |
by marto (Cardinal) on Dec 21, 2017 at 13:37 UTC | |
by choroba (Cardinal) on Dec 21, 2017 at 15:43 UTC |