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,

loris


In reply to Force reinstall on NFS via CPAN::install (or other method)? by loris

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.