Re: library version problem, 7.3.2, php, redhat linux - Mailing list pgsql-general

From Oliver Elphick
Subject Re: library version problem, 7.3.2, php, redhat linux
Date
Msg-id 1063349173.19783.3.camel@linda.lfix.co.uk
Whole thread Raw
In response to Re: library version problem, 7.3.2, php, redhat linux  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Responses Re: library version problem, 7.3.2, php, redhat linux  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
List pgsql-general
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
> >
> > 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@skipper lib]#
>
> 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.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Let the wicked forsake his way, and the unrighteous
      man his thoughts; and let him return unto the LORD,
      and He will have mercy upon him; and to our God, for
      he will abundantly pardon."          Isaiah 55:7


pgsql-general by date:

Previous
From: "Nigel J. Andrews"
Date:
Subject: Re: library version problem, 7.3.2, php, redhat linux
Next
From: "Marek Lewczuk"
Date:
Subject: plPHP for windows