FS#4703 - New glibc + locale = GTK Aplications problem

Attached to Project: Arch Linux
Opened by Miroslaw Czachor (forest76) - Thursday, 25 May 2006, 22:00 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After update glibc to 2.4-1, when run gtk aplications
like xmms, I give something like this:

Gdk-WARNING **: locale not supported by Xlib, locale set to C
Gdk-WARNING **: can not set locale modifiers

and I have not right locale for this apps.

Greetings,
Miroslaw
This task depends upon

Closed by  Jan de Groot (JGC)
Friday, 26 May 2006, 20:48 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Friday, 26 May 2006, 06:11 GMT
The problem is in the new Xlib that has the i18n module enabled. Somehow locales don't work with this one anymore. Will see what a version without i18n module loader does.
Comment by AqD (aquila_deus) - Friday, 26 May 2006, 16:20 GMT
rebuild libx11 with --disable-loadable-i18n (the default option) will solve the problem.

There are at least two problems with --enable-loadable-i18n:
1.libx11 will try to load /usr/lib/X11/locale/common/xlibi18n.so.2, which is actually located at /usr/lib/X11/locale/lib/common/xlibi18n.so.2
2.With *.UTF-8 locale, it will try to load /usr/lib/X11/locale/common/xlcUTF-8.so.2, which doesn't exist at all. There is another file named xlcUTF8Loader.so - it could be loaded fine but will throw the same error "locale not supported..".

If you use ISO-9660-1 locale, symbol link /usr/lib/X11/locale/common to lib/common will work.
Comment by Miroslaw Czachor (forest76) - Friday, 26 May 2006, 18:35 GMT
Thank's after rebulid gtk aplications works fine

Greetings,
Miroslaw

Loading...