Unix Technical Forum

Locale and Glib Upgrade: Locale not supported?

This is a discussion on Locale and Glib Upgrade: Locale not supported? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Just upgraded to glibc-2.3.3-i486-1 as in Sept. 19th's Changelog. Now I'm getting stuff like this whenever I start certain ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 03:41 PM
jayjwa
 
Posts: n/a
Default Locale and Glib Upgrade: Locale not supported?

Just upgraded to glibc-2.3.3-i486-1 as in Sept. 19th's Changelog. Now
I'm getting stuff like this whenever I start certain GTK apps, like
Gvim:

Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

I have LC_ALL set en_US. No problems before this upgrade, and I can't
begin to think of what may be the cause of this. Stracing an app's
startup didn't really help. Here's a small part of it before the error
occurs:

munmap(0x4001b000, 4096) = 0
open("/usr/lib/locale/en_US/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=178468, ...}) = 0
old_mmap(NULL, 178468, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40953000
close(3) = 0
munmap(0x40953000, 178468) = 0
open("/usr/lib/locale/en/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory)
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=28672, ...}) = 0
lstat64("/usr/lib/tcl8.4", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/lib/tcl8.4/encoding", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/tcl8.4/encoding/iso8859-1.enc", O_RDONLY|O_LARGEFILE) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffe8ec) = -1 ENOTTY (Inappropriate ioctl for device)
read(3, "# Encoding file: iso8859-1, sing"..., 4096) = 1094
read(3, "", 4096) = 0
close(3) = 0
open("/usr/lib/locale/en_US/LC_IDENTIFICATION", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=370, ...}) = 0
old_mmap(NULL, 370, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001b000
close(3) = 0
munmap(0x4001b000, 370) = 0
open("/usr/lib/locale/en/LC_IDENTIFICATION", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/share/vim/vim63", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
getcwd("/var/log", 1024) = 9
chdir("/var/log") = 0
chdir("/root") = 0
getcwd("/root", 1025) = 6
chdir("/var/log") = 0
sysinfo({uptime=847100, loads=[608, 2912, 352] totalram=162758656, freeram=6459392, sharedram=0, bufferram=12472320} totalswap=202268672, freeswap=188227584, procs=67}) = 0
getrlimit(RLIMIT_DATA, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
stat64("/usr/share/vim", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getresuid32([0], [0], [0]) = 0
getresgid32([0], [0], [0]) = 0
getpid() = 18235
open("/usr/lib/charset.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gconv/gconv-modules", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=44643, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001b000
read(3, "# GNU libc iconv configuration.\n"..., 4096) = 4096
read(3, ".B1.002//\nalias\tJS//\t\t\tJUS_I.B1."..., 4096) = 4096
read(3, "859-3\t1\nmodule\tINTERNAL\t\tISO-885"..., 4096) = 4096
read(3, "9-14//\nalias\tLATIN8//\t\tISO-8859-"..., 4096) = 4096
read(3, "st\nalias\tCSEBCDICESS//\t\tEBCDIC-E"..., 4096) = 4096
read(3, "\tINTERNAL\t\tIBM285\t\t1\nmodule\tINTE"..., 4096) = 4096
read(3, "ost\nalias\tCP866//\t\t\tIBM866//\nali"..., 4096) = 4096
read(3, "3//\t\tINTERNAL\t\tIBM943\t\t1\nmodule\t"..., 4096) = 4096
read(3, "odule\tEUC-CN//\t\tGBK//\t\t\tGBGBK\t\t1"..., 4096) = 4096
read(3, "\tANSI_X3.110\t1\nmodule\tINTERNAL\t\t"..., 4096) = 4096
read(3, "\tCSNATSDANO//\t\tNATS-DANO//\nalias"..., 4096) = 3683
read(3, "", 4096) = 0
close(3) = 0
munmap(0x4001b000, 4096) = 0
brk(0x83ca000) = 0x83ca000
write(2, "\n(process:18235): Gtk-WARNING **"..., 101
(process:18235): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
) = 101
open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=48651, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001b000
read(3, "#\t$Xorg: locale.alias,v 1.3 2000"..., 4096) = 4096
read(3, "SO8859-7\nel_GR\t\t\t\t\t\tel_GR.ISO885"..., 4096) = 4096
read(3, "-1\t\t\t\tfi_FI.ISO8859-1\nfi_FI.ISO_"..., 4096) = 4096

locale shows all the LC_* vars as listed 'en_US.UTF-8'. No matter what
I enter in LC_ALL (or any of them) the error presists. Google shows
various specific problems with certain apps, but not general like this.
The only two variables in my environment that are set are LANG and
LC_ALL, both en_US. Where should I be looking or what should I be
setting that isn't getting set right?


--
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:05 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com