httpd won't start because libpq.so.4 is missing
Posted on 2009-07-08
I had to power cycle my Redhat system and now I can't get httpd to start. Here is what happens when I try "service httpd start":
Starting httpd: /usr/sbin/httpd: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory
First off, libpq.so.4 sounds like a postgres library. I do have PostsreSQL installed, but I dont' know what it has to do with apache.
How can I fix this? I only use apache to forward traffic to other ports depending on what domain the user is coming to the site with. I don't recall ever adding any special modules, so I'm totally confused as to why apache is complaining about a postgres library.
I tried "yum remove httpd" then "yum install httpd" then I copied back my httpd.conf and tried to start it again, but that didn't fix anything.
FWIW, postgres itself doesn't seem to be having any problems.