Re: php and pgsql and rpm/compile

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Adam Lang <aalang(at)rutgersinsurance(dot)com>
Cc: PGSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: php and pgsql and rpm/compile
Date: 2000-09-07 18:23:49
Message-ID: 39B7DD35.74BD34A6@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adam Lang wrote:
>
> I have php installed from rpm. I'm trying to rpm the package
> php-pgsql-3.0.15.i386.rpm so that I can tie in to the postgres server.
>
> It is coming back with a dependency for libpq.so.2.0

The original packages distributed with RH 6.1 and 6.2 are for PostgreSQL
6.5.3 -- and the other RPM's built from that same distribution depend
upon PostgreSQL 6.5.3's libpq -- which is 2.0.

> I have /usr/local/pgsql/lib in the ld.so.conf file.

> I'm not sure what else to try, but I really hope the answer of "compile php"
> isn't the answer.

You can install the 7.0.2 RPMset, grab the source RPM for php, rebuild
it using (as root) rpm --rebuild php*.src.rpm, and install the freshly
built packages with rpm -i from /usr/src/redhat/RPMS/i386. Of course,
that rebuild will require a relatively complete development machine...

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tressens Lionel 2000-09-07 18:37:48 Re: php and pgsql and rpm/compile
Previous Message Tony Bazeley 2000-09-07 16:18:54 Unexpected crashes