Bugzilla – Bug 378
Unbound does not check the ldns version
Last modified: 2011-04-12 09:04:01 CEST
Unbound >= 1.4.6 apparently (I do not find it documented) requires ldns >= 1.6.5 but configure does not test it (while it tests the version of OpenSSL, for GOST support).
As a result, on an Ubuntu "maverick" (ldns = 1.6.4), with the latest Unbound:
/unbound-1.4.9 % make
echo "rebuild lexer, but no lex program, skipped"
rebuild lexer, but no lex program, skipped
./libtool --quiet --tag=CC --mode=link gcc -g -O2 -pthread -o unbound-anchor build/compat/strlcpy.lo build/smallapp/unbound-anchor.lo -L. -L.libs -lunbound -lexpat -lssl -lldns -lcrypto
build/smallapp/.libs/unbound-anchor.o: In function `pick_random_ip':
/home/stephane/System/DNS/Unbound-tests/unbound-1.4.9/smallapp/unbound-anchor.c:672: undefined reference to `ldns_get_random'
collect2: ld returned 1 exit status
make: *** [unbound-anchor] Error 1
[BTW, the list of possible Unbound versions in Bugzilla stops at 1.4.6...]
Yes it should check the ldns version, but this is a new dependency from unbound-anchor and not checked. Fixed it so it checks for ldns_get_random in ldns. Fix in svn trunk r2411.
Thanks for the report,
And I added the versions to bugzilla, thanks again, Wouter.