%general-entities; ]> Glibc-&glibc-version; 64-Bit Glibc Installation of Glibc Configure Glibc to install its 64-bit libraries into /lib64: echo "libc_cv_slibdir=/lib64" >> config.cache CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ ../glibc-&glibc-version;/configure --prefix=/usr \ --disable-profile --enable-kernel=&glibc-kernel-version; \ --libexecdir=/usr/lib64/glibc --libdir=/usr/lib64 \ --enable-obsolete-rpc --cache-file=config.cache The meaning of the new configure option: --libexecdir=/usr/lib64/glibc This changes the location of the getconf utility from its default of /usr/libexec to /usr/lib64/glibc. Configuring The Dynamic Loader /etc/ld.so.conf By default, the dynamic loader (/lib/ld.so.1 for 32bit executables and /lib/ld64.so for 64bit executables) 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.