in reply to Is PERL5LIB Problem Associated with Perl RPM Upgrade?

I'm not running Red Hat, nor do I like to upgrade Perl via RPM, but it sounds as if you need to update your mod_perl instead. Starting Apache oughtn't cause Perl to do anything unless it's linked in to Apache and runs things at startup. Otherwise, I'd expect /etc/profile to have a global definition for PERL5LIB.

This is just an intuitive leap, though. :)

Replies are listed 'Best First'.
mod_perl Was The Problem
by dave_aiello (Pilgrim) on Nov 26, 2002 at 16:56 UTC
    chromatic:

    I tried modifying /etc/profile to explicitly set PERL5LIB, but that resulted in different Perl-related errors on apachectl start. So, I downloaded the newest mod_perl module available in the RedHat 7.2 channel on the Red Hat Network, installed it using rpm -U, and that fixed the apache startup problem.

    When I got it running, I began to think, "I wonder if the problem would have been resolved if I uninstalled and reinstalled the original version of the mod_perl RPM?" Maybe I'll pursue that next time I'm in a jam like this.

    All in all, I'd rather use Perl in a Perlish way, and not in a way that is so dependent on the Linux distro that we are currently using.

    Dave Aiello
    Chatham Township Data Corporation