$ uname -a
OpenBSD morpheus.mokaz.com 3.9 GENERIC.MP#598 i386

I get various locale errors from programs such perl and postgresql:

$ pkg_info mozilla
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = "en_US.ISO8859-1",
        LANG = "en_US.ISO8859-1"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

# su _postgresql -c 'pg_ctl start -D /var/postgresql/data'
postmaster starting
FATAL:  XX000: failed to initialize lc_messages to ""
LOCATION:  InitializeGUCOptions, guc.c:2666

I have unsuccessfully tried setting LC_ALL to "en_US.ISO8859-1", "en_US.ISO8859-15", and "en_US.UTF-8", which I found in /usr/share/locale/. Setting LC_ALL to "C" seems to keep things quiet. Have I misconfigured something?

My research, on these complaining programs, basically states that the OS's locale support is either non-existent, misconfigured, or broken.

-pachl

Reply via email to