[CentOS] recompiled mod_perl insists on old perl dependency

Thu Mar 13 10:11:15 UTC 2008
Amos Shapira <amos.shapira at gmail.com>

On Thu, Mar 13, 2008 at 9:17 AM, Tim Verhoeven <tim.verhoeven.be at gmail.com>
wrote:

> Recompile the mod_perl package with after you installed the new perl.
> It looks like the mod_perl was build against the base CentOS perl
> version and not the one you build.


That's what I suspected so I re-compiled mod_perl after I installed perl on
the compilation machine but got exactly the same results.


> >  Is anyone here is aware of another way to get a fixed version of perl
> >  for CentOS 5?
>
> You need to get upstream to fix it. Report this bug in our and theirs
> bug reportingtools (bugs.centos.org and bugzilla.redhat.com)


It's a known bug in RHEL: https://bugzilla.redhat.com/show_bug.cgi?id=379791
I now see that the previous bug link I provided was against Fedora and is
closed. This one is against 5.0 and is open with recent activity.

After some more digging with a colleague we suspect that:

1. We probably miss something about RPM version ordering (the perl version
it looks for is 4:... while ours is just plain 5.8.8...)
2. The "overriding" package comes from rpmforge.

We solved it in two ways (we have two test fail-over machines so we could
try two fixes):
1. Manually installing all the dependent packages in one rpm command (there
is a circular dependency) somehow passed fine.
2. Giving our own private repository higher priority.

Thanks for your reply.

--Amos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080313/f4b2759c/attachment-0004.html>