Red Hat Bugzilla – Bug 23997
Perl warnings on new glibc 2.2-12
Last modified: 2007-04-18 12:30:41 EDT
I have recently upgraded glibc to 2.2-12 as in the RedHat errata. Since
then, I now have these warnings on invoking perl:
[syonic@Mars syonic]$ perl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Perl worked fine before this, And I only upgraded glibc at the time, so im
sure it has to be related.. It exists on all machines, as all have upgraded
to the new glibc.
Cannot reproduce this. The only thing which comes to my mind which
would cause this is that you don't have glibc-common installed.
How have you done the upgrade? If using rpm -F --nodeps, then it
would explain it. The errata described you should do:
rpm -Uvh glibc-2* glibc-common-2*
rpm -Fvh glibc-[dp]* nscd*
Thanks for the advice, my problem was that glibc-common was added, and my perl
script that I made to automate updates never looked for that. After installing
glibc-common the problem is resolved. This is not a bug, but user error. Marking
bug as such.