Date: Thu, 15 Feb 2024 10:12:44 -0800 From: Mark Millard <marklmi@yahoo.com> To: ps.ports@smyrak.com, FreeBSD Mailing List <freebsd-ports@freebsd.org>, "mat@freebsd.org" <mat@FreeBSD.org> Subject: 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 Message-ID: <B8B34A32-839E-4261-B05D-183F7C5A1059@yahoo.com> References: <B8B34A32-839E-4261-B05D-183F7C5A1059.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Piotr Smyrak <ps.ports_at_smyrak.com> wrote on Date: Thu, 15 Feb 2024 10:26:48 UTC : On Wed, 14 Feb 2024 17:32:18 -0800 Mark Millard <marklmi@yahoo.com> wrote: >=20 > > I did: > >=20 > > # 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 > >=20 > > So, next: > >=20 > > # pkg install libidn2 > > # dig srv _http._tcp.portsnap.FreeBSD.org > >=20 > > and that worked. Looks like a dependency is > > missing. > >=20 > > (Why portsnap?: Just helping someone using 12.4-RELEASE > > that wanted to use portsnap but was having a problem.) >=20 > IDN options is by default on in the port of bind-tools. It shall > register a dependendency automatically though. dns/bind-tools got a build-time dependency but not a dependency for run-time use. So pkg install of bind-tools did not automatically install the needed libidn2 package. For reference, for the build-time dependency working: =3D=3D=3D> Returning to build of bind-tools-9.18.20_2 =3D=3D=3D> bind-tools-9.18.20_2 depends on shared library: libidn2.so - = not found =3D=3D=3D> Installing existing package /packages/All/libidn2-2.3.4_2.pkg [main-arm64-default-job-10] Installing libidn2-2.3.4_2... [main-arm64-default-job-10] `-- Installing libunistring-1.1... [main-arm64-default-job-10] `-- Extracting libunistring-1.1: .......... = done [main-arm64-default-job-10] Extracting libidn2-2.3.4_2: .......... done =3D=3D=3D> bind-tools-9.18.20_2 depends on shared library: libidn2.so - = found (/usr/local/lib/libidn2.so) =3D=3D=3D> Returning to build of bind-tools-9.18.20_2 It is just the run-time dependency that is missing for how bind-tools is built. =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B8B34A32-839E-4261-B05D-183F7C5A1059>