Re: [PHP-DEV] Bug #444 Updated: Compile succeeds with PostgreSQL 6.1 but not 6.3 (Latest) From: Zeev Suraski (bourbon <email protected>)
Date: 07/18/98

On Sat, 18 Jul 1998, Egon Schmid wrote:

> Im now relativly sure, when starting with 6.3.2 there is no libpq.so.1 to
> find. This problem was solved by Bruce last Sunday. I had no problems
> because postgres 6.3.1 build's libpq.so in its own lib directory and php
> looks for /usr/local/lib/libpq.so.1. I looked at some straces and 6.3.2
> builds no libpq.so only libpq.a.

That's true, but actually, for the versions of Postgres that did build a
shared library, the INSTALL file states that you should add
/usr/local/pgsql/lib to your /etc/ld.so.conf and run ldconfig. PHP is at
the mercy of ld.so, and ld.so checks /etc/ld.so.conf...

Zeev