Re: need help with plphp installation

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Pete Kay <petedao(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>, plphp(at)lists(dot)commandprompt(dot)com
Subject: Re: need help with plphp installation
Date: 2010-08-10 14:43:43
Message-ID: 1281451128-sup-6087@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Also CC'ing the PL/php list.

Excerpts from Pete Kay's message of mar ago 10 10:21:58 -0400 2010:
> Hi,
>
> I am getting the following errors while trying to get plphp installed
> on postgres 8.5:
>
> ERROR: could not load library "/usr/local/pgsql/lib/plphp.so":
> /usr/local/pgsql/lib/plphp.so: undefined symbol: sapi_globals

Hmm, how did you compile PHP? (i.e. what were the configure options?)
These symbols appear defined in my copy of the "embed" SAPI.

What platform are you on?

Are you using the latest from Github? It contains a couple of small
fixes in the way LDFLAGS are handled for PHP.
http://github.com/commandprompt/PL-php

Also, what are you calling Postgres 8.5? There's no such thing --
there's 8.4, and then there's 9.0 (which was called 8.5 initially, but
changed to 9.0 way before the first beta)

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-general by date

  From Date Subject
Next Message rsmogura 2010-08-10 14:53:02 Numeric2 - help with library
Previous Message Thom Brown 2010-08-10 14:41:45 Re: need help with plphp installation