I suggest you try to see if there is a compatibility rpm you need to install.
Kind regards, Bernt
From: pgsql-php-owner@postgresql.org [mailto:pgsql-php-owner@postgresql.org] On Behalf Of L. Zhao Sent: Friday, January 09, 2009 7:28 PM To: pgsql-php@postgresql.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@simkin.ca> To: pgsql-php@postgresql.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@yahoo.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.3. So I > am wondering why library 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