Setting locale failed with Slackware

If after installing Slackware you receive error messages such as the following:
root@box:/tmp# perl 
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

The cause of this is normally that the glibc package not being installed. You can install it as follows:

root@box:/tmp# mount /mnt/cdrom
root@box:/tmp# installpkg /mnt/cdrom/slackware/l/glibc-2.3.6-i486-6.tgz

Last updated: 09/02/2007