Re: dig from dns/bind-tools gets: ld-elf.so.1: /usr/local/lib/libidn2.so.0: version IDN2_0.0.0 required by /usr/local/bin/dig not defined

From: Piotr Smyrak <ps.ports_at_smyrak.com>
Date: Thu, 15 Feb 2024 10:26:48 UTC
On Wed, 14 Feb 2024 17:32:18 -0800
Mark Millard <marklmi@yahoo.com> wrote:

> I did:
> 
> # pkg install bind-tools
>  . .
> # dig srv _http._tcp.portsnap.FreeBSD.org
> ld-elf.so.1: /usr/local/lib/libidn2.so.0: version IDN2_0.0.0 required
> by /usr/local/bin/dig not defined
> 
> So, next:
> 
> # pkg install libidn2
> # dig srv _http._tcp.portsnap.FreeBSD.org
> 
> and that worked. Looks like a dependency is
> missing.
> 
> (Why portsnap?: Just helping someone using 12.4-RELEASE
> that wanted to use portsnap but was having a problem.)

IDN options is by default on in the port of bind-tools. It shall
register a dependendency automatically though.

-- 
 Piotr Smyrak