Sorry, I've mixed the version number, I meant
9.21.22 (Development Release)
Carsten
On Wednesday 20 May 2026 04:35:22 PM (+02:00), Carsten Strotmann via
bind-users wrote:
> Hi,
>
> maybe this can be of help for someone running BIND 9 on NetBSD 10.x:
>
> the new BIND 9.22.21 release does have a hard dependency for "lmdb"
(lightweight database).
>
> On NetBSD, "lmdb" can be installed with "pkgin in lmdb". However, this
"lmdb" package does not contain a "pkg-config" file with information on how
to compile against "lmdb".
> The BIND 9 "meson" build-setup process might fail with
> meson.build:910:11: ERROR: Dependency "lmdb" not found, tried pkgconfig
and cmake
> as it cannot find "lmdb".
>
> I found that manually creating a file "/usr/pkg/lib/pkgconfig/lmdb.pc"
with the content
>
> ----
> # Package Information for pkg-config
>
> prefix=/usr/pkg
> exec_prefix=${prefix}
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
>
> Name: LMDB
> Description: Lightning Memory-mapped key-value database
> Version: 0.9.35
> Libs: -Wl,-R${libdir} -L${libdir} -llmdb
> Libs.private: -lm -lpthread
> Cflags: -I${includedir}
>
> ----
>
> will create a manual workaround, and BIND 9.22.21 will compile
successfully.
>
> Greetings
>
> Carsten Strotmann
> --
> https://strotmann.de
--
https://strotmann.de
--
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from
this list.