dragonfly-2010Q3 unbound dns resolver - linking problem
Paul Onyschuk
blink at bojary.koba.pl
Thu Nov 4 08:57:47 PDT 2010
Unbound (simple DNS resolver) is available in pkgsrc. I installed
it from binary packages on DragonFly BSD i386 2.8.2, but it breaks on
runtime:
/usr/libexec/ld-elf.so.2: /usr/pkg/sbin/unbound: Undefined symbol
"ldns_key_EVP_ladd_gost_id"
ldd shows that unbound is linked with DragonFly BSD ldns library
instead of pkgsrc version (/usr/lib/libldns.so.1 instead
of /usr/pkg/lib/libldns.so.1). Pkgsrc uses version 1.6.6 of ldns and
DragonFly BSD uses v1.6.4.
Problem is bigger, because path to pkgsrc's ldns is specified in
unbound's makefile:
CONFIGURE_ARGS+= --with-ldns=${BUILDLINK_PREFIX.ldns}
Probably libtool is doing some kind of magic ;) There is simple, but
dirty way to fix that - changing that line in makefile to:
CONFIGURE_ARGS+= --with-ldns-builtin
This way, unbound will be compiled statically with ldns provided
with unbound source tree and works perfectly.
Anyone has better solution?
--
Paul Onyschuk <blink at bojary.koba.pl>
More information about the Users
mailing list