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:

FWIW, I would not be trying to install everything using RPMs, were it not for the fact that I have to document a repeatable server build process, and other developers and system admins need to be able to follow it. Every one of the people who might follow my documentation has less experience with Perl than I do.

Dave Aiello
Chatham Township Data Corporation


In reply to Is PERL5LIB Problem Associated with Perl RPM Upgrade? by dave_aiello

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.