pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
(no subject)
2+ messages / 2 participants
[nested] [flat]

* (no subject)
@ 1970-01-01 00:00  khalid Gaffar <khalid_faza@hotmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: khalid Gaffar @ 1970-01-01 00:00 UTC (permalink / raw)
  To: pgsql-admin

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

We are initializing the database system with username postgres (uid=26).
This user will own all the files and must also own the server process.

Creating Postgres database system directory /usr/local/pgsql/data

Creating Postgres database system directory usr/local/pgsql/data/base

Creating template database in /usr/local/pgsql/data/base/template1

Creating global classes in /usr/local/pgsql/data/base
Adding template1 database to pg_database...
ERROR: pg_atoi: error in "template1": can't parse "template1"
ERROR: pg_atoi: error in "template1": can't parse "template1"
     syntax error 1 : parse errorinitdb: could not log template database
initdb: cleaning up.

Your assistance in resolving this would be greatly appreciated


Thank you.

Khalid
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* RE:
@ 2000-12-20 19:42  Michael B. Babakov <M.Babakov@sochi.net.ru>
  parent: khalid Gaffar <khalid_faza@hotmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael B. Babakov @ 2000-12-20 19:42 UTC (permalink / raw)
  To: khalid Gaffar <khalid_faza@hotmail.com>; +Cc: pgsql-admin


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)




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2000-12-20 19:42 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1970-01-01 00:00  khalid Gaffar <khalid_faza@hotmail.com>
2000-12-20 19:42 ` RE: Michael B. Babakov <M.Babakov@sochi.net.ru>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox