Let's analyze the dependencies:
Red Hat 7.1 (Perl 5.6.0)
Requires:
    * ld-linux.so.2
    * libc.so.6
    * libcrypt.so.1
    * libdl.so.2
    * libm.so.6
    * libnsl.so.1
    * libdb-3.1.so
    * libdb.so.3
    * libgdbm.so.2
    * /usr/bin/perl 
Red Hat 8.0 (Perl 5.8.0)
Also Requires (in addition to most of the above list):
    * libdb-4.0.so (Only in RH 8)
    * libpthread.so.0 (Is already in glibc-2.2.4 found in RH 7.1)
    * libutil.so.1 (Is also in glibc-2.2.4 found in RH 7.1) 


libdb-4 can be found here for RH 8.0 (source RPM). It should rebuild cleanly on RH 7.1, but you should install it, rather than upgrade it (-ivh as opposed to -Uvh). This is the only spot that may cause you problems, since your current system probably has packages that depend on the old libdb-3, meaning it has to hang around, but the new libdb-4 might conflict with it.

If the libdb-4 source RPM doesn't work, you should download the latest Berkeley DB source from here. It uses GNU autotools, so should install in /usr/local... by default. Just add /usr/local...(whatever the library install path is) to your /etc/ld.so.conf and run /sbin/ldconfig as root to make the system aware of the new libraries before trying to recompile Perl 5.8.0.

Good luck,
Doug

In reply to Re: Installing Perl 5.8.0 on redhat 7.1 by slugmax
in thread Installing Perl 5.8.0 on redhat 7.1 by hotshot

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.