Maintained by: NLnet Labs

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

Ondřej Surý
Sat Jan 28 19:45:01 CET 2012


That's better. It finds the library, but it's too old.

Either you need newer library from ports (if available) or download,
compile and install into your custom location (it could be the unbound
dir).

E.g. roughly do:

cd unbound-x.y.z
wget http://www.nlnetlabs.nl/downloads/ldns/ldns-1.6.12.tar.gz
tar -xzf ldns-1.6.12.tar.gz
cd ldns-1.6.12
./configure --disable-shared && make
cd ..
./configure --with-ldns=ldns-1.6.12 --disable-shared <rest-of-configure-options>
make

P.S.: --disable-shared is optional and you can have shared libraries
if you install ldns along unbound where dynamic linker could find it.

On Sat, Jan 28, 2012 at 17:25, Paul Hoffman <paul.hoffman at vpnc.org> wrote:
> On Jan 28, 2012, at 1:08 AM, Ondřej Surý wrote:
>
>> Have you tried --with-ldns=/usr/local
>
> I had not, but I have now, and it still fails the same way as wth /usr/local/lib. ./configure ends with:
>
> checking for ldns_key_EVP_load_gost_id... no
> checking for ldns_key_EVP_unload_gost... no
> checking for ldns/ldns.h... yes
> configure: error: ldns library is not recent, update the ldns library, install it into system lib dir or use --with-ldns=path to other location.  The --with-ldns can point to the make-dir of ldns.  Package libldns or download source http://www.nlnetlabs.nl/projects/ldns
>
> Note that it seems to fine ldns.h, but is objecting at the step after it.
>
> More clues appreciated.
>
> --Paul Hoffman
>



-- 
Ondřej Surý <ondrej at sury.org>