Re: Error in compiling PHP with PostgreSQL support

From: Keary Suska <hierophant(at)pcisys(dot)net>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error in compiling PHP with PostgreSQL support
Date: 2001-09-19 20:44:44
Message-ID: B7CE5FDC.35E5%hierophant@pcisys.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

IIRC, pg_encoding_to_char relates to multi-byte support. Chances are, your
libpq.so was not originally compiled with multi-byte support. You may have
to recompile.

It may also mean that you have multiple libpq.so installations, one which
does not have multi-byte support and which is being loaded by libphp4.so.

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"

> From: Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>
> Date: Wed, 19 Sep 2001 15:46:13 -0300
> To: Cosmos Tong <cosmossyt(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] Error in compiling PHP with PostgreSQL support
>
> 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
> -----------------------------------------------------------------
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-09-19 20:47:00 Re: Case sensitive file names
Previous Message paula 2001-09-19 20:13:42 EXISTS / IN - does it work on Postgresql?