Re: Question on libpq.so

From: "Drange, Bernt Andreas" <bernt(dot)andreas(dot)drange(at)imr(dot)no>
To: "L(dot) Zhao" <lzhao86(at)yahoo(dot)com>, <pgsql-php(at)postgresql(dot)org>
Subject: Re: Question on libpq.so
Date: 2009-01-12 09:36:17
Message-ID: CCD1018747D71F44A0F7B4A347EBE00CF6380C@post3.imr.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

I suggest you try to see if there is a compatibility rpm you need to
install.

Kind regards, Bernt

From: pgsql-php-owner(at)postgresql(dot)org
[mailto:pgsql-php-owner(at)postgresql(dot)org] On Behalf Of L. Zhao
Sent: Friday, January 09, 2009 7:28 PM
To: pgsql-php(at)postgresql(dot)org
Subject: Re: [PHP] Question on libpq.so

I am not familiar with the structure of php.spec. What should I look
for regarding the test suite run? Thanks.

________________________________

From: Alan Hodgson <ahodgson(at)simkin(dot)ca>
To: pgsql-php(at)postgresql(dot)org
Sent: Friday, January 9, 2009 9:42:52 AM
Subject: Re: [PHP] Question on libpq.so

On Friday 09 January 2009, "L. Zhao" <lzhao86(at)yahoo(dot)com> wrote:
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.12911 (%check)
>
> I look into php.spec, it does not specify the usage of libpq.so
<http://libpq.so/> .3. So I
> am wondering why library pgsql.so <http://pgsql.so/> requires
libpq.so.3, and if there is
> any compatibility issue.

It looks like the test suite run during the RPM creation is trying to
load
the currently installed PHP pgsql.so library instead of the one just
compiled. You could try just commenting out the test options in the RPM
spec file.

--
Current Peeve: The mindset that the Internet is some sort of school for
novice sysadmins and that everyone -not- doing stupid dangerous things
should act like patient teachers with the ones who are. -- Bill Cole,
NANAE

In response to

Browse pgsql-php by date

  From Date Subject
Next Message F. 2009-01-14 18:39:45 PREPARE -> EXEC Problem
Previous Message L. Zhao 2009-01-09 18:28:21 Re: Question on libpq.so