Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1215

Summary: upgrading to perl-5.004m7-1 breaks mod_perl-1.15-3
Product: [Retired] Red Hat Linux Reporter: tegla
Component: perlAssignee: Crutcher Dunnavant <crutcher>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-03-15 15:23:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description tegla 1999-02-17 13:00:34 UTC
The mod_perl package supplied with RH52 will not work with
the upgraded perl. Here are the errors apache cries at start
(on our development machine):

[Wed Feb 17 13:38:38 1999] [error] Can't locate
DynaLoader.pm in @INC (@INC contains:
/usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5
/usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl
. /home/medi/ /home/medi/lib/perl /home/medi/codes) at
/usr/lib/perl5/site_perl/DBI.pm line 138.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/DBI.pm line 138.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/Apache/DBI.pm line 3.


I was able to cure the whole thing with the following
command (obhack):
ln -s /usr/lib/perl5/i386-linux/5.00405
/usr/lib/perl5/i386-linux/5.00404

Comment 1 Preston Brown 1999-03-15 15:23:59 UTC
Yes, this is the problem with releases of perl which change the major
number.  They do not provide good backwards compatibility..

Rebuilding the source RPM should solve the problem, even though it
isn't an elegant solution.

Agreed that it is a bug, however, the "fix" that we will be
recommending is either the above solution or waiting for the next
release of Red Hat Linux.