I get the following error when starting the apache2 server, any ideas. ./httpd: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory [root at localhost sbin]# -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070309/6b08353b/attachment.html>
On 3/9/07, Ern jura <exjura at gmail.com> wrote:> I get the following error when starting the apache2 server, any ideas. > > ./httpd: error while loading shared libraries: libpq.so.4: cannot open > shared object file: No such file or directory > [root at localhost sbin]#Why are you calling httpd directly instead of using the init script? What version of httpd is this, as it's not the version that centos ships. The centos version of httpd is not linked against postgresql, and what you're using seems to be. If you would like assistance, you might start by explaining what you've done here. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell
Ern jura wrote:> I get the following error when starting the apache2 server, any ideas. > > ./httpd: error while loading shared libraries: libpq.so.4: cannot open > shared object file: No such file or directory > [root at localhost sbin]# > > > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centosHi, I think I remember seeing something like this. It took me a while to find it. Things start with http.conf. Then modules in /etc/http/conf.d get called. There are many there. They all call other modules. I suspect that one of the modules in /etc/http/conf.d is calling this one and it is missing. I usually have to find it and edit it so that it does not get called. Then I get no error and apache runs fine.