<div dir="ltr">Hi, what this correct place to report issue? Is there any better way to contact developers?<br><div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><br>--<br>Peter.</div></div>
<br><div class="gmail_quote">On Mon, May 8, 2017 at 11:01 AM, Peter Volkov <span dir="ltr"><<a href="mailto:peter.volkov@gmail.com" target="_blank">peter.volkov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello.<br><br>bind 9.10.x and 9.11.x fails to build if ./configure'ed --without-dlopen[1]:<br><br><span style="font-family:monospace,monospace">libtool: compile:  x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/net-dns/bin<wbr>d-9.11.0_p1/work/bind-9.11.0-<wbr>P1 -I../.. -I./include -I../dns/include -I/var/tmp/portage/net-dns/bin<wbr>d-9.11.0_p1/work/bind-9.11.0-<wbr>P1/lib/dns/include -I../../lib/dns/include -I/var/tmp/portage/net-dns/bin<wbr>d-9.11.0_p1/work/bind-9.11.0-<wbr>P1/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/nothreads/incl<wbr>ude -I../../lib/isc/x86_32/include -I../../lib/irs/include -I../../lib/irs/include -DVERSION=\"9.11.0-P1\" -DSYSCONFDIR=\"/etc/bind\" -D_GNU_SOURCE -march=core2 -freorder-blocks-and-partition -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -fno-delete-null-pointer-check<wbr>s -c nsprobe.c -o nsprobe.o >/dev/null 2>&1<br>libtool: link: x86_64-pc-linux-gnu-gcc -march=core2 -freorder-blocks-and-partition -O2 -pipe -Wl,-O1 -o .libs/sample-gai .libs/sample-gai.o  -Wl,--as-needed ../irs/.libs/libirs.so ../dns/.libs/libdns.so ../isccfg/.libs/libisccfg.so /var/tmp/portage/net-dns/bind-<wbr>9.11.0_p1/work/bind-9.11.0-P1/<wbr>lib/dns/.libs/libdns.so /var/tmp/portage/net-dns/bind-<wbr>9.11.0_p1/work/bind-9.11.0-P1/<wbr>lib/isccc/.libs/libisccc.so /var/tmp/portage/net-dns/bind-<wbr>9.11.0_p1/work/bind-9.11.0-P1/<wbr>lib/isc/.libs/libisc.so ../isc/.libs/libisc.so -lcap -lz <br>../dns/.libs/libdns.so: undefined reference to `dlopen'<br>../dns/.libs/libdns.so: undefined reference to `dlclose'<br>../dns/.libs/libdns.so: undefined reference to `dlerror'<br>../dns/.libs/libdns.so: undefined reference to `dlsym'<br>collect2: error: ld returned 1 exit status<br>make[2]: *** [Makefile:463: sample-gai] Error 1</span><br><br>This fails under lib/samples/, but the problem is with <a href="http://libdns.so/la" target="_blank">libdns.so/la</a> itself. Failure was introduced by "merge dyndb" commit:<br><a href="https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=commit;h=a00f9e2f50675bd43cc6a9fe2669709162a2ccb4" target="_blank">https://source.isc.org/cgi-bin<wbr>/gitweb.cgi?p=bind9.git;a=comm<wbr>it;h=a00f9e2f50675bd43cc6a9fe2<wbr>669709162a2ccb4</a><br>lib/dns/dyndb.c has dlopen() reference, but configure still allows to disable -ldl (--without-dlopen) and thus <a href="http://libdns.la" target="_blank">libdns.la</a> will be linked without -ldl. Probably correct fix will be to remove --with/without-dlopen option from ./configure.<br><br><br></div>Ref:<br>[1] <a href="https://bugs.gentoo.org/show_bug.cgi?id=600212" target="_blank">https://bugs.gentoo.org/show_b<wbr>ug.cgi?id=600212</a><br><br><div>--<br><div><div><div class="m_841441640690483667m_-3851299247806843089gmail-m_9158888267607852625gmail_signature">Peter.</div></div>
</div></div></div>
</blockquote></div><br></div></div></div>