%general-entities; ]> Glibc-&glibc-version; 64-Bit Glibc Installation of Glibc Tell Glibc to install its 64-bit libraries into /lib64: echo "slibdir=/lib64" >> configparms CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ ../glibc-&glibc-version;/configure --prefix=/usr \ --disable-profile --enable-add-ons --enable-kernel=2.6.0 \ --libexecdir=/usr/lib64/glibc --libdir=/usr/lib64 The meaning of the new configure option: --libexecdir=/usr/lib64/glibc This changes the location of the pt_chown program from its default of /usr/libexec to /usr/lib64/glibc. The math tests sometimes fail. Certain optimization settings are known to be a factor here. The gettext test sometimes fails due to host system issues. The exact reasons are not yet clear. If you have mounted the CLFS partition with the noatime option, the atime test will fail. As mentioned in , do not use the noatime option while building CLFS. When running on older and slower hardware, some tests can fail because of test timeouts being exceeded. Configuring The Dynamic Loader /etc/ld.so.conf By default, the dynamic loader (/lib/ld-linux.so.2) searches through /lib, /lib64, /usr/lib, and /usr/lib64 for dynamic libraries that are needed by programs as they are run. However, if there are libraries in directories other than these, they need to be added to the /etc/ld.so.conf file in order for the dynamic loader to find them. Some directories that are commonly known to contain additional libraries are /usr/local/lib, /usr/local/lib64, /opt/lib, and /opt/lib64, so add those directories to the dynamic loader's search path. Create a new file /etc/ld.so.conf by running the following: cat > /etc/ld.so.conf << "EOF" # Begin /etc/ld.so.conf /usr/local/lib /usr/local/lib64 /opt/lib /opt/lib64 # End /etc/ld.so.conf EOF