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

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: library version problem, 7.3.2, php, redhat linux
Дата
Msg-id 1063349173.19783.3.camel@linda.lfix.co.uk
обсуждение исходный текст
Ответ на Re: library version problem, 7.3.2, php, redhat linux  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Ответы Re: library version problem, 7.3.2, php, redhat linux  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Список 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 по дате отправления:

Предыдущее
От: "Nigel J. Andrews"
Дата:
Сообщение: Re: library version problem, 7.3.2, php, redhat linux
Следующее
От: "Marek Lewczuk"
Дата:
Сообщение: plPHP for windows