Re: [GENERAL] Error in compiling PHP with PostgreSQL support

2001-09-18 Thread Cosmos Tong
Dear Mike, I am using SuSE 7.2. I compile Postgres, PHP, Apache, mod_ssl, mod_perl, MySQL, Imapd and Curl from source. The PHP is the last item I compiled. The following is the options I used to compile Postgres: --sysconfdir=/usr/local/etc --enable-syslog --enable-odbc --with-maxbackends=128

[GENERAL] Error in compiling PHP with PostgreSQL support

2001-09-18 Thread Cosmos Tong
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