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

From: Richard Welty <rwelty(at)averillpark(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: library version problem, 7.3.2, php, redhat linux
Date: 2003-09-12 12:06:48
Message-ID: Mahogany-0.65.0-14018-20030912-080648.00@averillpark.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 12 Sep 2003 07:21:19 +0100 (BST) "Nigel J. Andrews" <nandrews(at)investsystems(dot)co(dot)uk> 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
>
> > this seems to clearly be a library versioning problem, as
> > "ls -l /usr/lib/libpq*" gives me

> > -rw-r--r-- 1 root root 113800 Feb 5 2003 /usr/lib/libpq.a
> > lrwxrwxrwx 1 root root 12 Jun 26 14:19 /usr/lib/libpq.so ->
> libpq.so.3.0
> > lrwxrwxrwx 1 root root 12 Aug 1 08:09 /usr/lib/libpq.so.3 ->
> libpq.so.3.0
> > -rwxr-xr-x 1 root root 552967 Jul 28 18:30 /usr/lib/libpq.so.3.0
> > [root(at)skipper lib]#

> Well not quite. The complaint is that the PHP interface to PostgreSQL
> isn't
> found.

i don't think so.

/usr/lib/php4/pqsql.so is there, and is generating the message. pqsql.so is
complaining that it can't find /usr/lib/libpq.so.2

if you look at the ls -l, you clearly see that /usr/lib/libpq.so.2 is not
there. this change in library versions happened when i upgraded to 7.3.2, i
had to recompile some stuff, but on the 7.1 machine i didn't have to make
any changes to php, and on the 8.0 machine, clearly there's an issue. since
in installing 7.3.2 i stepped out of the normal rh release cycle, it's not
obvious how to go forward from here.

richard
--
Richard Welty rwelty(at)averillpark(dot)net
Averill Park Networking 518-573-7592
Java, PHP, PostgreSQL, Unix, Linux, IP Network Engineering, Security

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2003-09-12 12:27:40 Re: Table OraclexPostgresql
Previous Message Richard Huxton 2003-09-12 11:49:06 Re: library version problem, 7.3.2, php, redhat linux