Received: from comm.sochi.net.ru (sochi.net.ru [212.248.80.2]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eBKJhB613570 for ; Wed, 20 Dec 2000 14:43:13 -0500 (EST) (envelope-from M.Babakov@sochi.net.ru) Received: from mb.sochi.net.ru (misoft.tnet.sochi.net [212.248.80.53]) by comm.sochi.net.ru (8.10.2/8.10.2) with ESMTP id eBKJgoJ07072; Wed, 20 Dec 2000 22:42:52 +0300 (MSK) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 20 Dec 2000 22:42:32 +0300 (MSK) Reply-To: M.Babakov@sochi.net.ru From: "Michael B. Babakov" To: khalid Gaffar Subject: RE: Cc: pgsql-admin@postgresql.org X-Archive-Number: 200012/135 X-Sequence-Number: 331 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)