%general-entities; ]> Glibc-&glibc-version; Glibc Installation of Glibc Now we make sure the Glibc goes into /lib: echo "slibdir=/lib" >> configparms ../glibc-&glibc-version;/configure --prefix=/usr \ --disable-profile --enable-add-ons --enable-kernel=2.6.0 \ --libexecdir=/usr/lib/glibc --libdir=/usr/lib The meaning of the new configure option: --libexecdir=/usr/lib/glibc This changes the location of the pt_chown program from its default of /usr/libexec to /usr/lib/glibc. The install will finish by checking that everything is correctly installed. Unfortunately, it will test for a multilib installation. On x86_64 Pure64 this means it will try to test the non-existent 32-bit loader which has a different name from the 64-bit loader (unlike on other 64-bit architectures). We fool it by creating a symlink to the real loader. ln -sv &glibc-ld-name; /lib/ld-linux.so.2 Now we can remove this symlink. We also need to correct the /usr/bin/ldd script - if you look at this, you will see it references not only the 32-bit linker, but also /lib64 where it thinks the 64-bit linker is. The following sed will correct this: rm -v /lib/ld-linux.so.2 cp -v /usr/bin/ldd{,.bak} sed '/RTLDLIST/s%/ld-linux.so.2 /lib64%%' /usr/bin/ldd.bak >/usr/bin/ldd Check the script to make sure the sed worked correctly, then delete the backup. rm -v /usr/bin/ldd.bak