# Readme document for patching glibc-2.1.x on your linux system Patch options: 1. glibc-2.1.3-idns.tar.gz patched glibc source 2. glibc-2.1.3.patch patch file for glibc source 3. libc.so libc binary file ################################################################### 1. Patching glibc-2.1.x using glibc-2.1.3-idns.tar.gz * extract glibc-2.1.3-idns.tar.gz into appropriate directory tar -xzvf glibc-2.1.3-idns.tar.gz * go to source directory and configure for compilation cd glibc-2.1.3 ./configure --prefix=/usr --enable-add-ons=crypt,linuxthreads * compile the source file (this should take quite a while) make all make check * install the patched glibc into system make install ################################################################### 2. Patching glibc-2.1.x using glibc-2.1.3.patch * get the glibc source and add-ons frm GNU site. glibc-2.1.3.tar.gz glibc-crypt-2.1.tar.gz glibc-linuxthreads-2.1.3.tar.gz * extract those source files into appropriate directory. tar -xzvf glibc-2.1.3.tar.gz cd glibc-2.1.3 tar -xzvf glibc-crypt-2.1.tar.gz tar -xzvf glibc-linuxthreads-2.1.3.tar.gz * go to the parent directory of source directory and apply the patch file patch -p1 < glibc-2.1.3.patch * go to source directory and configure for compilation cd glibc-2.1.3 ./configure --prefix=/usr --enable-add-ons=crypt,linuxthreads * compile the source file (this should take quite a while) make all make check * install the patched glibc into system make install #################################################################### Patching glibc-2.1.x using libc.so, libresolv.so, libnss_dns.so * extract glibc-2.1.3-binary.tar.gz into appropriate directory. tar -xzvf glibc-2.1.3-binary.tar.gz * replace "/lib/libresolv-2.1.x.so" with "libresolv.so" cp libresolv.so /lib/libresolv-2.1.x.so * replace "/lib/libnss_dns-2.1.x.so" with "libnss_dns.so" cp libnss_dns.so /lib/libnss_dns-2.1.x.so * copy "libc.so" to "/lib" directory cp libc.so /lib/. * make the symbolic link "/lib/libc.so.6" point to the replaced library ln -fs /lib/libc.so /lib/libc.so.6 **************************************************************************** * Note: * * Remember to add in following line into your "/etc/resolv.conf" to enble * * the options: * * options i18n * **************************************************************************** Regards, I-DNS