Re: Installation problem: failed to initialize lc_messages to ""

From: Stefan Schwarzer <stefan(dot)schwarzer(at)grid(dot)unep(dot)ch>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Installation problem: failed to initialize lc_messages to ""
Date: 2008-01-10 12:23:54
Message-ID: BF6D1560-1C16-4F80-8073-76057A761528@grid.unep.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>> FATAL: XX000: failed to initialize lc_messages to ""
>> LOCATION: InitializeGUCOptions, guc.c:2666
>
> Typically what this means is that you have an improper setting of LANG
> or LC_ALL in your environment ("improper" meaning that it doesn't
> match
> any of the locales that are actually installed on your system). You
> can use "locale -a" to find out what's installed.

Hmm... Did the "locale -a"... and lot's of things appeared. Beneath
them this one:

en_US
en_US.ISO8859-1
en_US.ISO8859-15
en_US.US-ASCII
en_US.UTF-8

I guess it's the most widely used. What am I supposed to do now? I
tried to specify a --locale=C, which I read somewhere.... no idea.

Please, give me a hint what I should do to proper set postgres up.

Thanks a lot,

Stef

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stefan Schwarzer 2008-01-10 12:30:04 Re: Installation problem: failed to initialize lc_messages to ""
Previous Message Isak Hansen 2008-01-10 12:12:03 Re: Prepared Statements