cannot open shared object file

CentOS, PostgreSQL Add comments

Ok, last hurdle (I hope) for the CentOS migration:

If you get

Starting httpd: /usr/sbin/httpd: error while loading shared libraries: cannot open shared object file: No such file or directory

starting Apache2 on CentOS, possibly after having installed later versions of Postgresql and forcing some compat-postgresql-libs, you might proceed like this:

yum remove apr-util

(this will remove httpd / Apache2 also)


yum install httpd

(this will reinstall apr-util and [hopefully] fix the dependencies).

I got the hint from here, regarding the libpq dependencies:


[Slashdot] [Digg] [Reddit] [] [Facebook] [Technorati] [Google] [StumbleUpon]

3 Responses to “ cannot open shared object file”

  1. John Schmidt Says:

    Great post. Fixed the issue.

  2. marpen Says:

    good informations ..

  3. Bits And Pix » Apache: cannot open shared object file (postgres) Says:

    [...] Source [...]

Leave a Reply