I have tried building the bind9 package with the flag --with-dlz-ldap=yes set, but it did not solve the problem. The following is what I did:
sudo apt-get update sudo apt-get build-dep bind9 mkdir -p ~/ws/bind9 cd ~/ws/bind9 apt-get source bind9 cd bind9-9.9.5.dfsg ./configure --with-dlz-ldap=yes dpkg-buildpackage -rfakeroot cd .. dpkg -i ~/ws/bind9/bind9_9.9.5.dfsg-3_amd64.deb I am not sure if I did the above correctly. I am getting the same 'undefined symbol' error: dlz_dlopen failed to open library '/usr/lib/dlz-ldap-enum/dlz_ldap_enum.so' > - /usr/lib/dlz-ldap-enum/dlz_ldap_enum.so: undefined symbol: ns_g_mctx Please advise how else this can be solved.

