| Subcribe via RSS

Centos and mod_ssl dependency problems

January 23rd, 2010 Posted in Uncategorized

I recently wanted to add mod_ssl to a Centos 5 server that I administer. Simple enough. Eveything online says to just do a “yum install mod_ssl” and your done. Well I did “yum install mod_ssl” and I got the error message:

...
Finished Dependency Resolution
httpd-devel-2.2.3-31.el5.centos.2.i386 from updates has depsolving
problems
--> Missing Dependency: httpd = 2.2.3-31.el5.centos.2 is needed by
package httpd-devel-2.2.3-31.el5.centos.2.i386 (updates)
Error: Missing Dependency: httpd = 2.2.3-31.el5.centos.2 is needed by
package httpd-devel-2.2.3-31.el5.centos.2.i386 (updates)

Great! Yum was suppose to handle all my dependencies for me but it looks like it is broken. I googled around for a bit and didn’t find anything help, just other people with a similar problem. Then, I did run across a message on the Centos mailing list that solved my problem.

Basically, the server I am running is 64 bit, but for some reason there was a 32 bit version of http-devel that was causing the conflict. Remove the 32 bit httpd-devel by doing “rpm -e httpd-devel.i386″. Then “yum install mod_ssl” will work just as easily as everyone says it does.

One Response to “Centos and mod_ssl dependency problems”

  1. Nico Says:

    Or you may try doing this:

    yum install httpd-devel.x86_64

    That’s the solution posted here: http://bugs.centos.org/view.php?id=2938

    Pretty crappy behavior if you ask me, I would have expected yum to handle this automatically.


Leave a Reply