Skip site navigation (1) Skip section navigation (2)

Question on libpq.so

From: "L(dot) Zhao" <lzhao86(at)yahoo(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Question on libpq.so
Date: 2009-01-09 00:34:37
Message-ID: 230332.37017.qm@web31304.mail.mud.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-php
We are in the process of upgrading our postgres database from 7.4 to 8.2 on Redhat ES4 server.  Postgresql uses libpq.so.5.0, while libpq.so.3 was initially installed and is needed by php.  I did the postgresql 8.2.10 installation without dependency:
rpm -Uvh --nodeps postgresql-*.rpm
Then I try to recompile PHP 4.3.9 rpm, hoping that it will point to the new postgres so.  The compilation failed with the error: 
Unable to load dynamic library '/usr/lib/php4/pgsql.so' - libpq.so.3: cannot open shared object file: No such file or directory in Unknown on line 0

Can PHP 4.3 work with postgresql 8.2, and how can I point PHP rpm to use libpq.so.5?  Thanks.


Lawrence


      

Responses

pgsql-php by date

Next:From: Alan HodgsonDate: 2009-01-09 01:08:40
Subject: Re: Question on libpq.so
Previous:From: Raymond O'DonnellDate: 2009-01-08 23:00:05
Subject: Re: Correct Encoding

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group