DragonFly BSD
DragonFly users List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

dragonfly-2010Q3 unbound dns resolver - linking problem

From: Paul Onyschuk <blink@xxxxxxxxxxxxxx>
Date: Thu, 4 Nov 2010 16:54:05 +0100

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
unbound's makefile:


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@bojary.koba.pl>

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]