2012/9/25 Leonardo M. Ramé <l.rame at griensu.com>: > libpq.so (libc6) => /usr/local/pgsql/lib/libpq.so > > It seems to be installed correctly. maybe libpq.so itself has some dependency problems and will refuse to load (but I am not sure how the error message would look like in this case, so this is only an unfounded guess. try ldd on the library itself)