initdb: pg_encoding failed - Mailing list pgsql-general

From [Bad-Knees]
Subject initdb: pg_encoding failed
Date
Msg-id 3a8bd9b4$1@news.olivant.fo
Whole thread Raw
Responses Re: initdb: pg_encoding failed  ("Oliver Elphick" <olly@lfix.co.uk>)
List pgsql-general
Hi.
I have a problem getting postgresql to work on my Debian 2.2 system, and
i hope someone in this group can help me.

I have successfully compiled, installed and used postgresql 7.02 on a
RedHat6.2 system.

The problem is the same for postgresql 7.02 and 7.03 on two different
computers, both running Debian 2.2, so think its either the distro or
me(most likly me, but i cant figure out what i'm doing wrong)!

What i wrote on all 4 tries:

./configure --enable-locale --enable-multibyte --with-odbc
make
make install

and everything seemed to go smooth.

The next thing i tried was:
/usr/local/pgsql/bin/initdb -D /var/pgsql/data
then i got this error:
---
initdb: pg_encoding failed

Perhaps you did not configure PostgreSQL for multibyte support or
the program was not successfully installed.
--

any suggestions???

Thanks

[Bad-Knees]

pgsql-general by date:

Previous
From: "Dan Wilson"
Date:
Subject: Re: order of clauses
Next
From:
Date:
Subject: How to use gethostbyname()