Maintained by: NLnet Labs

[Unbound-users] Where should --with-ldns point to on FreeBSD 8.2 systems

lst_hoe02 at kwsoft.de
Fri Jan 27 21:19:52 CET 2012


Zitat von Paul Hoffman <paul.hoffman at vpnc.org>:

> Greetings. I'm building various versions of Unbound on a FreeBSD  
> system that has ldns installed from packages. Thus, it goes into  
> /usr/local.
>
> Most versions of Unbound find it just fine even without --with-ldns,  
> but many don't. The ones that don't are:
>
> unbound-0.0
> unbound-0.1
> unbound-0.2
> unbound-0.3
> unbound-0.9
> unbound-0.9-20080115
> unbound-1.4.11rc1
> unbound-1.4.12
> unbound-1.4.12rc1
> unbound-1.4.13
> unbound-1.4.13p2
> unbound-1.4.13rc1
> unbound-1.4.13rc2
> unbound-1.4.14
> unbound-1.4.14rc1
> unbound-1.4.15rc1
>
> I tried "--with-ldns=/usr/local/lib", but they all fail the same  
> way. In order to make those build, what do I want --with-ldns= to  
> point to?
>
> /usr/local/lib contains:
> -rw-r--r--   1 root  wheel  1161896 Feb  2  2011 libldns.a
> -rw-r--r--   1 root  wheel      946 Feb  2  2011 libldns.la
> lrwxr-xr-x   1 root  wheel       12 Feb  2  2011 libldns.so -> libldns.so.1
> -rwxr-xr-x   1 root  wheel   799978 Feb  2  2011 libldns.so.1
>

 From my limited point of view you also need the header files from  
ldns, maybe something like ldns-dev needs to be installed? This  
reminds me that until recently (1.4.11??) a ldns tarball was shipped  
within unbound source and used in case ldns was not found otherwise.

Regards

Andreas