Bug#242341: libc6: setlocale() can't find data files.
Package: libc6
Version: 2.3.2.ds1-11
Severity: normal
Tags: l10n
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.24
Locale: LANG=en_US, LC_CTYPE=en_US (ignored: LC_ALL set to en_US)
Versions of packages libc6 depends on:
ii libdb1-compat 2.1.3-7 The Berkeley database routines [gl
-- debconf information:
1) export LC_ALL=en_US
2) Compile the following program:
#include <stdio.h>
#include <locale.h>
int
main (void)
{ char *cptr = setlocale (LC_ALL, "") ;
if (cptr != NULL)
puts (cptr) ;
else
printf ("%p\n", cptr) ;
return 0;
}
3) When run, the setlocale() returns a NULL pointer indicating
failure.
4) Strace reveals that libc is looking for
/usr/lib/locale/en_US/LC_IDENTIFICATION
which doesn't seem to exist.
Reply to: