Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id B3993632734 for ; Thu, 8 Jan 2009 20:34:44 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 25862-03 for ; Thu, 8 Jan 2009 20:34:39 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from web31304.mail.mud.yahoo.com (web31304.mail.mud.yahoo.com [68.142.198.99]) by mail.postgresql.org (Postfix) with SMTP id 36857632726 for ; Thu, 8 Jan 2009 20:34:39 -0400 (AST) Received: (qmail 37511 invoked by uid 60001); 9 Jan 2009 00:34:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=4T/8xsD/S0SLuXCSa6UfrcDaiUpjPKSdsd9pHozVVusTWseSojaZ1/HB7joBNtfGfFW6wiq6SpaFEPZWeaTb94JpT0OjvO1RGysdRjDbMDt+ZODtMKSIXGxLZRSAWrFM2w8WxGEqy9CcvqYQdVQrKsSyRfr2NUl7MPxsNUPoK6A=; X-YMail-OSG: DQYnKAEVM1mRw.XPvkwolxBHgmu07v5mkQoHYHCxZNxfhdoKUWsJE7rQEJrpO8sQCc2ZyanIfyRvV5.BUcrvUtzJpXFu9ez5odCO0muBVsJ14zYDytuzXnI_2arCp807eRwH7EJaeijjTspxikOJR6yFpU7gNDyAlNFYbr764q6UfHiXFccItCQY_MHtKZHD3dpMxoMNWMVZ_84P9p0dZ4PKknKmz27rxzBfog-- Received: from [206.190.70.135] by web31304.mail.mud.yahoo.com via HTTP; Thu, 08 Jan 2009 16:34:37 PST X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 Date: Thu, 8 Jan 2009 16:34:37 -0800 (PST) From: "L. Zhao" Subject: Question on libpq.so To: pgsql-php@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-509622779-1231461277=:37017" Message-ID: <230332.37017.qm@web31304.mail.mud.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200901/4 X-Sequence-Number: 3959 --0-509622779-1231461277=:37017 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable We are in the process of upgrading our postgres database from 7.4 to 8.2 on= Redhat ES4 server.=A0 Postgresql uses libpq.so.5.0, while libpq.so.3 was i= nitially installed and=A0is needed by php.=A0 I did the postgresql 8.2.10 i= nstallation without dependency:=0Arpm -Uvh --nodeps postgresql-*.rpm=0AThen= I try to recompile PHP 4.3.9 rpm, hoping that it will point to the new pos= tgres so.=A0 The compilation failed with the error: =0AUnable to load dynam= ic library '/usr/lib/php4/pgsql.so' - libpq.so.3: cannot open shared object= file: No such file or directory in Unknown on line 0=0A=0ACan PHP 4.3 work= with postgresql 8.2, and how can I point PHP rpm to use libpq.so.5?=A0 Tha= nks.=0A=0A=0ALawrence=0A=0A=0A --0-509622779-1231461277=:37017 Content-Type: text/html; charset=us-ascii
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

--0-509622779-1231461277=:37017--