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 <[EMAIL PROTECTED]>
> Date: Wed, 19 Sep 2001 15:46:13 -0300
> To: Cosmos Tong <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> 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                  |        [EMAIL PROTECTED]
> 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
> 


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to