On 20-Dec-00 khalid Gaffar wrote:
> During the installation of PostgreSQL , I execute the initdb command using
> the postgres user account. I get the following error message:
>
> pg_encoding: error in loading shared libraries: pg_encoding: undefined
> symbol: pg_char_to_encoding
How you make initdb? With `-E` option?
If you use `-E` - don't use this option. If need encoding - read
doc/README.mb.
I'm use next shell script for configure:
=== postgres_conf.sh ===
#!/bin/sh
./configure --with-perl --with-odbc \
--with-tcl --with-tclconfig=/usr/local/lib/tcl8.3 \
--with-tkconfig=/usr/local/lib/tk8.3 \
--with-includes=/usr/local/include/tk8.3 \
!!!>>> --enable-locale --enable-multibyte=KOI8 \
--with-CC=gcc --with-CXX=gcc
=== postgres_conf.sh ===
(need remove symbols "!!!>>>" !)
Rebuild and reinstall PostgreSQL.
Good luck,
Michael
---
e-mail: M.Babakov@sochi.net.ru
http://sochi.net.ru/~mike (rus)