Re: Error in compiling PHP with PostgreSQL support

From: Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: Cosmos Tong <cosmossyt(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Error in compiling PHP with PostgreSQL support
Date: 2001-09-19 18:46:13
Message-ID: 20010919184616.24C2D2AB45@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Lun 17 Sep 2001 12:14, Cosmos Tong wrote:
> Dear all,
>
> I can compile PHP 4.0.6 with Postgres 7.1.3 successfully. However,
> when I try to start apache, an error comes out:
>
> Cannot load /usr/local/apache/libexec/libphp4.so into server:
> /usr/local/apache/libexec/libphp4.so: undefined symbol:
> pg_encoding_to_char
>
> I would like to ask how can I solve it.

Be sure you have PGLIB in your LD_LIBRARY_PATH when starting apache (or in
the apache init script).

saludos... :-)

--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques(at)unl(dot)edu(dot)ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message D'Arcy J.M. Cain 2001-09-19 18:48:18 Re: Major change to CVS effective immediately ...
Previous Message Stephan Szabo 2001-09-19 18:34:56 Re: null answer - how?