The original INSTALL file mentions that: The default locations for libbind.a and .h files in BIND 8.1.2 are different from those used in BIND 8.1-REL. If you did a 'make install' for BIND 8.1-REL, then you should delete the files it installed. They are: /usr/local/lib/libbind.a /usr/local/include/arpa/inet.h /usr/local/include/arpa/nameser.h /usr/local/include/arpa/nameser_compat.h /usr/local/include/netdb.h /usr/local/include/resolv.h /usr/local/include/sys/bitypes.h (if it exists) /usr/local/include/sys/cdefs.h (if it exists) Since I always have used /usr instead of /usr/local for my bind installations (used to be bind-4.9.4-P1), the "/local" part of the above paths need to be removed: 1. cd /usr && ls -ld lib/libbind.a include/arpa/inet.h \ include/arpa/nameser.h \ include/arpa/nameser_compat.h include/netdb.h \ include/resolv.h include/sys/bitypes.h \ include/sys/cdefs.h /bin/ls: lib/libbind.a: No such file or directory /bin/ls: include/arpa/nameser_compat.h: No such file or directory -rw-r--r-- 1 root root 4088 Jan 14 1999 include/arpa/inet.h -rw-r--r-- 1 root root 15491 Jan 14 1999 include/arpa/nameser.h -rw-r--r-- 1 root root 17368 Jan 14 1999 include/netdb.h -rw-r--r-- 1 root root 11524 Jan 14 1999 include/resolv.h -rw-r--r-- 1 root root 86 Jan 14 1999 include/sys/bitypes.h -rw-r--r-- 1 root root 2981 Jan 14 1999 include/sys/cdefs.h ruth:/usr# The Aug 28 1996 is from when I installed bind-4.9.4-P1 while the Aug 24 1995 and May 26 1995 is from the system itself. I seriously doubt that I should remove SYSTEM /usr/include/sys/bitypes.h and /usr/include/sys/cdefs.h... (Actually, I tried it, and make depend failed.) 2. su - cd /usr/include && mkdir -p include-removed && \ /bin/ls -1 arpa/inet.h arpa/nameser.h \ arpa/nameser_compat.h netdb.h resolv.h \ | cpio -pduma /usr/include-removed cp -p /usr/lib/libbind.a /usr/include-removed/libbind.a find /usr/include-removed -type d -print | \ xargs chmod 755 3. su - cd /usr && rm -rf lib/libbind.a include/arpa/inet.h \ include/arpa/nameser.h \ include/arpa/nameser_compat.h include/netdb.h \ include/resolv.h 4. Unless this is already done: mv /pub/apps/bind-src.tar.gz \ /pub/apps/bind-8.1.2-src.tar.gz 5. su - leifadm mkdir -p /usr/src/bind-8.1.2 \ && cd /usr/src/bind-8.1.2 \ && tar -zxvf /pub/apps/bind-8.1.2-src.tar.gz 6. mkdir -p /usr/src/bind-8.1.2.log 7. cd /usr/src/bind-8.1.2/src \ && cp -p .cvsignore TODO Makefile INSTALL \ CHANGES README Version LEGE* \ /usr/src/bind-8.1.2.log 8. cd /usr/src/bind-8.1.2/src \ && find . -type f -print \ | perl -nle 'unless(-B $_) { print; }' \ | xargs grep -E '/local' 2>&1 \ | tee /usr/src/bind-8.1.2.log/was--prefix=usr-local.txt 9. cd /usr/src/bind-8.1.2/src \ && /usr/local/bin/stealthedit--prefix=usr -v . \ 2>&1 \ | tee /usr/src/bind-8.1.2.log/stealthedit--prefix=usr.log 10. cd /usr/src/bind-8.1.2/src 11. make clean 2>&1 \ | tee /usr/src/bind-8.1.2.log/LEGE-make-clean.log 12. make depend 2>&1 \ | tee /usr/src/bind-8.1.2.log/LEGE-make-depend.log 13. make 2>&1 \ | tee /usr/src/bind-8.1.2.log/LEGE-make.log 14. su - cd /usr/src/bind-8.1.2/src 15. make -n install 2>&1 \ | tee /usr/src/bind-8.1.2.log/LEGE-make--n-install.log grep install \ /usr/src/bind-8.1.2.log/LEGE-make--n-install.log \ | grep -- -c \ | perl -nle 'm%/[^; \\]*% && print $&;' /usr/bind/include/arpa/$x /usr/bind/include/isc/$x /usr/bind/include/$x /usr/bind/include/sys/$x /usr/bind/include/net/$x /usr/bind/include/$x /lib/libbind.a /usr/bin/addr /usr/bin/nslookup /usr/lib/ /usr/bin/dig /usr/bin/dnsquery /usr/bin/host /usr/sbin/named /usr/sbin/named-xfer /usr/sbin/ndc /usr/bin/nsupdate grep install \ /usr/src/bind-8.1.2.log/LEGE-make--n-install.log \ | grep -- -c \ | perl -nle 'm%/[^; \\]*% && print $&;' \ | xargs ls -ld ls: /usr/bind/include/arpa/$x: No such file or directory ls: /usr/bind/include/isc/$x: No such file or directory ls: /usr/bind/include/$x: No such file or directory ls: /usr/bind/include/sys/$x: No such file or directory ls: /usr/bind/include/net/$x: No such file or directory ls: /usr/bind/include/$x: No such file or directory ls: /lib/libbind.a: No such file or directory -rwxr-xr-x 1 root root 37148 Jan 20 11:39 /usr/bin/addr -rwxr-xr-x 1 root root 142287 Jan 20 11:39 /usr/bin/dig -rwxr-xr-x 1 root root 112130 Jan 20 11:39 /usr/bin/dnsquery -rwxr-xr-x 1 root root 126791 Jan 20 11:39 /usr/bin/host -rwxr-xr-x 1 root root 158349 Jan 20 11:39 /usr/bin/nslookup -rwxr-xr-x 1 root root 87715 Jan 20 11:39 /usr/bin/nsupdate drwxr-xr-x 169 root root 12288 Apr 14 10:50 /usr/lib/ -rwxr-xr-x 1 root root 383587 Jan 20 11:39 /usr/sbin/named -rwxr-xr-x 1 root root 157514 Jan 20 11:39 /usr/sbin/named-xfer -rwxr-xr-x 1 root root 1517 Jan 20 11:39 /usr/sbin/ndc OK. All the above is from Jan 20, when S.u.S.E. installed bind-8. Had it been e.g. bind-4.9.4-P1 I might have done something like this, but it wasn't: # cd /usr/bin # mv addr addr-bind-4.9.4-P1 # mv dig dig-bind-4.9.4-P1 # mv dnsquery dnsquery-4.9.4-P1 # mv host host-4.9.4-P1 # mv nslookup nslookup-4.9.4-P1 # cd /usr/sbin # mv named named-4.9.4-P1 # mv named-xfer named-xfer-4.9.4-P1 # mv ndc ndc-4.9.4-P1 16. cd /usr/src/bind-8.1.2/src \ && make install 2>&1 \ | tee /usr/src/bind-8.1.2.log/LEGE-make-install.log grep install \ /usr/src/bind-8.1.2.log/LEGE-make-install.log \ | grep -- -c \ | perl -nle 'm%/[^; \\]*% && print $&;' \ | xargs ls -ld ls: /usr/bind/include/arpa/$x: No such file or directory ls: /usr/bind/include/isc/$x: No such file or directory ls: /usr/bind/include/sys/$x: No such file or directory ls: /usr/bind/include/net/$x: No such file or directory ls: /usr/bind/include/$x: No such file or directory ls: /lib/libbind.a: No such file or directory -rwxr-xr-x 1 root root 36955 Jul 14 01:38 /usr/bin/addr -rwxr-xr-x 1 root root 468500 Jul 14 01:38 /usr/bin/dig -rwxr-xr-x 1 root root 374055 Jul 14 01:38 /usr/bin/dnsquery -rwxr-xr-x 1 root root 411120 Jul 14 01:38 /usr/bin/host -rwxr-xr-x 1 root root 507750 Jul 14 01:38 /usr/bin/nslookup -rwxr-xr-x 1 root root 209136 Jul 14 01:38 /usr/bin/nsupdate -r--r--r-- 1 root root 4557 Jul 14 01:38 /usr/bind/include/arpa/inet.h -r--r--r-- 1 root root 16939 Jul 14 01:38 /usr/bind/include/arpa/nameser.h -r--r--r-- 1 root root 7797 Jul 14 01:38 /usr/bind/include/arpa/nameser_compat.h -r--r--r-- 1 root root 1383 Jul 14 01:38 /usr/bind/include/hesiod.h -r--r--r-- 1 root root 5600 Jul 14 01:38 /usr/bind/include/irs.h -r--r--r-- 1 root root 3424 Jul 14 01:38 /usr/bind/include/isc/assertions.h -r--r--r-- 1 root root 6718 Jul 14 01:38 /usr/bind/include/isc/eventlib.h -r--r--r-- 1 root root 1821 Jul 14 01:38 /usr/bind/include/isc/heap.h -r--r--r-- 1 root root 2998 Jul 14 01:38 /usr/bind/include/isc/list.h -r--r--r-- 1 root root 3656 Jul 14 01:38 /usr/bind/include/isc/logging.h -r--r--r-- 1 root root 1399 Jul 14 01:38 /usr/bind/include/isc/memcluster.h -r--r--r-- 1 root root 1048 Jul 14 01:38 /usr/bind/include/isc/misc.h -r--r--r-- 1 root root 974 Jul 14 01:38 /usr/bind/include/isc/tree.h -r--r--r-- 1 root root 6516 Jul 14 01:38 /usr/bind/include/netdb.h -r--r--r-- 1 root root 11807 Jul 14 01:38 /usr/bind/include/resolv.h drwxr-xr-x 169 root root 12288 Jul 14 01:38 /usr/lib/ -rwxr-xr-x 1 root root 1200271 Jul 14 01:38 /usr/sbin/named -rwxr-xr-x 1 root root 528226 Jul 14 01:38 /usr/sbin/named-xfer -rwxr-xr-x 1 root root 1518 Jul 14 01:38 /usr/sbin/ndc ruth:/usr/src/bind-8.1.2/src# 17. ls -ld /usr/bind/lib/libbind.a ls -ld /lib/libbind.a /usr/bind/lib/libbind.a -rw-r--r-- 1 bin bin 1149452 Jul 14 01:38 /usr/bind/lib/libbind.a /bin/ls: /lib/libbind.a: No such file or directory -rw-r--r-- 1 bin bin 1149452 Jul 14 01:38 /usr/bind/lib/libbind.a DONE.