Ok I figured it out. I installed the wrong mysql package. This is the right process: apt-get install build-essential apt-get source bind9 apt-get build-dep bind9 apt-get libmysqlclient15-dev, needed for mysql headers and libraries for the dlz-mysql driver. cd bind9-9.4.1-P1 export DEB_BUILD_OPTIONS="--with-dlz-mysql". This does not work as it shoud so: nano -w debian/rules, add --with-dlz-mysql to ./configure line dpkg-buildpackage -b dpkg -i ../bind9_9.4.1-P1-3ubuntu1_i386.deb
** Changed in: bind9 (Ubuntu) Status: New => Fix Committed -- Bind 9.4.1-P1 fails to compile with the --with-dlz-mysql flag https://bugs.launchpad.net/bugs/209500 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs