Installation of Glibc Unpack the glibc-crypt and glibc-linuxthreads in the glibc-2.1.3 directory, not in /usr/src. Don't enter the created directories. Just unpack them and leave it with that. A few default parameters of Glibc need to be changed, such as the directory where the shared libraries are supposed to be installed in and the directory that contains the system configuration files. For this purpose you need to create the $LFS/usr/src/glibc-build directory and cd into that directory with:
mkdir /usr/src/glibc-build && cd /usr/src/glibc-build
In that directory you create a new file configparms by running the following: cat > configparms << "EOF" # Begin configparms slibdir=/lib sysconfdir=/etc # End configparms EOF Change to the $LFS/usr/src/glibc-build directory and install Glibc by running the following commands:
cd /usr/src/glibc-build && ../glibc-2.2.1/configure \    --prefix=/usr --enable-add-ons \    --with-headers=$LFS/usr/include \    --libexecdir=/usr/bin && make && make install && make localedata/install-locales