Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Introduction

The GNU C Library is used as the C library in the GNU systems and most systems with the Linux kernel.

Usage

module load glibc/glibc2.14.1

 

Installation

 

mkdir build
cd build
../configure -prefix=/sw/gcc/glibc/glibc-2.14.1
make
make install

create a module file
>>>>>>>>>>>>>>
prepend-path     PATH /sw/gcc/glibc/glibc-2.14.1/bin:/sw/gcc/glibc/glibc-2.14.1/sbin:/sw/gcc/glibc/glibc-2.14.1/share:/sw/gcc/glibc/glibc-2.14.1/share/i18n:/sw/gcc/glibc/glibc-2.14.1/share/i18n/charmaps:/sw/gcc/glibc/glibc-2.14.1/share/i18n/locale:/sw/gcc/glibc/glibc-2.14.1/share/i18n/zoneinfo:/sw/gcc/glibc/glibc-2.14.1/libexec:/sw/gcc/glibc/glibc-2.14.1/libexec/getconf
prepend-path     LD_LIBRARY_PATH /sw/gcc/glibc/glibc-2.14.1/lib
prepend-path     INCLUDE /sw/gcc/glibc/glibc-2.14.1/include
>>>>>>>>>>>>>>>

After the install:
strace localedef -i en_US -f UTF-8 en_US.UTF-8
##Do the following after the  install
##mkdir  /sw/gcc/glibc/glibc-2.14.1/lib/locale/
##chmod 555  /sw/gcc/glibc/glibc-2.14.1/lib/locale/
##strace localedef -i en_US -f UTF-8 en_US.UTF-8

 

 

Reference

  1. https://www.gnu.org/software/libc/download.html

 

  • No labels