DragonFly users List (threaded) for 2010-11
dragonfly-2010Q3 unbound dns resolver - linking problem
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
/usr/libexec/ld-elf.so.2: /usr/pkg/sbin/unbound: Undefined symbol
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
Probably libtool is doing some kind of magic ;) There is simple, but
dirty way to fix that - changing that line in makefile to:
This way, unbound will be compiled statically with ldns provided
with unbound source tree and works perfectly.
Anyone has better solution?
Paul Onyschuk <email@example.com>