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-14 12:36:03
Message-ID: 6ACD9E3B-7D9A-40BF-9181-330DB33DB3A3@grid.unep.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>> I'm wondering if some of those files are missing, or the symlinks
>>> are
>>> dangling, on yours.
>
>> Hmmm..... here is what I have. Looks pretty similar....
>
> Running out of easy answers, aren't we :-(
>
> The next thing I can think of is to run initdb under "ktrace -i" and
> compare the results with a working system. The output of this is
> likely
> to be voluminous, so don't send it to the list --- but if you'll
> send it
> to me off-list I'll compare it to what I get here.

Ufff..... I completely reinstalled Leopard (cause was a bit messy,
meanwhile). And thought: Hey, now it should be any problem anymore....
But oups.... it did it again. Gush!

So, looked around again on the net and found this message:
I found this referenced under bug #1344: locale problem The problem
appears to be in going from Linux 2.6.9-5.0.5 to 2.6.9-11 the default
LANG environment variable changed from LANG=en_US.UTF-8 to
LANG=english_us.8859. Error could be identified by typing locale at
the opsys prompt. I fixed by adding to posgres .bash_profile:
LANG=en_US.UTF-8; export LANG
(http://www.mail-archive.com/pgsql-bugs(at)postgresql(dot)org/msg12073.html)
Also mentioned Linux, it seems to be the same problem with Mac...
Putting the LANG... into the .bash_profile settled the problem.
Hope this helps!
Stef

In response to

Browse pgsql-general by date

  From Date Subject
Next Message hiddenhippo 2008-01-14 12:36:23 backup and restore
Previous Message Gregory Stark 2008-01-14 11:36:18 Re: Index trouble with 8.3b4