Compiling BIND 9.21.22+ on NetBSD 10.x

Ondřej Surý ondrej at isc.org
Wed May 20 15:16:47 UTC 2026


Yeah, it is really shame that Howard is so stubborn and makes lmdb so hard to use.
Most of the systems now carry extra patch to fix this deficiency.

Carsten, please fill an issue, it should not be that hard to fix in meson.

Ondrej
--
Ondřej Surý (He/Him)
ondrej at isc.org

ADHD brain at work: I sometimes lose track of my inbox. Please feel free to send a gentle nudge if you're waiting on a reply!

My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.

> On 20. 5. 2026, at 15:59, Carsten Strotmann via bind-users <bind-users at lists.isc.org> wrote:
> 
> 
> 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.



More information about the bind-users mailing list