Re: library version problem, 7.3.2, php, redhat linux

From: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: Richard Welty <rwelty(at)averillpark(dot)net>, PostgreSQL general list <pgsql-general(at)postgresql(dot)org>
Subject: Re: library version problem, 7.3.2, php, redhat linux
Date: 2003-09-12 10:03:34
Message-ID: Pine.LNX.4.21.0309121058500.9169-100000@ponder.fairway2k.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 12 Sep 2003, Oliver Elphick wrote:

> On Fri, 2003-09-12 at 07:21, Nigel J. Andrews wrote:
> > On Thu, 11 Sep 2003, Richard Welty wrote:
> ...
> > > [Thu Sep 11 16:17:25 2003] [notice] caught SIGTERM, shutting down
> > > PHP Warning: Unable to load dynamic library '/usr/lib/php4/pgsql.so'
> > > - libpq.so.2: cannot open shared object file: No such file or directory
> > > in Unknown on line 0
> >
> > Well not quite. The complaint is that the PHP interface to PostgreSQL isn't
> > found.
>
> If I understand the error message correctly, it looks as though
> /usr/lib/php4/pgsql.so is linked to libpq.so.2, which does not exist.
> You need a version of php built against a more recent postgresql.

Doh! Trust me to not read the original message properly.

Still I'd point to my PHP build/configure comment if you'd left that in the
quoted the matterial :)

It does look like PHP needs rebuilding so that it uses the right postgresql
library. However, isn't this supposed to be a plain install of Redhat,
i.e. installed from RPMs with nothing upgraded to versions outside of the
original distribution so everything matches?

--
Nigel J. Andrews

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Jones 2003-09-12 10:26:29 best arrangement of 3 disks for (insert) performance
Previous Message Amin Schoeib 2003-09-12 09:54:40 Converting database-encoding from SQL_ASCII to UNICODE?????