On 3/9/07, Ern jura exjura@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@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.