libns-9.20.27-dev.so: undefined reference to `dns_nsec_requiredtypespresent'

Ondřej Surý ondrej at isc.org
Sun Jul 26 16:56:31 UTC 2026


My recommendation would be to not run random development snapshots and stick with the released versions if you are not a developer. There is no stability guarantee for work-in-progress.

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 26. 7. 2026, at 15:38, Hans Mayer via bind-users <bind-users at lists.isc.org> wrote:
> 
> 
> 
> Dear All,
> 
> I am compiling bind from source tree on Debian 13 trixie with latest patch level.
> 
> mayer# git branch -v
> * bind-9.20 14884eab7e [9.20] fix: test: Drop a redundant racy check in fetchlimit test
>   main      a43a6cfba4 [behind 943] fix: dev: Remove unneeded options in dns_zonefetch
> 
> I configured once
> git checkout bind-9.20
> autoreconf -fi
> ./configure    --disable-tcp-fastopen '--enable-shared' --with-openssl --with-libxml2 --enable-geoip --with-maxminddb=auto --enable-dnstap --with-json-c
> 
> and for updates I run only ( which worked now well with this branch over several month )
> git pull
> make
> 
> But this time the make failed. ( Not only on one system. It happens for me on 3 servers )
> 
> .....
> Making all in misc
> make[3]: Entering directory '/opt/usr/mayer/nuc/bind9/doc/misc'
>   CC       cfg_test-cfg_test.o
>   CCLD     cfg_test
> /usr/bin/ld: /usr/local/lib/libns-9.20.27-dev.so: undefined reference to `dns_nsec_requiredtypespresent'
> collect2: error: ld returned 1 exit status
> make[3]: *** [Makefile:592: cfg_test] Error 1
> make[3]: Leaving directory '/opt/usr/mayer/nuc/bind9/doc/misc'
> make[2]: *** [Makefile:465: all-recursive] Error 1
> make[2]: Leaving directory '/opt/usr/mayer/nuc/bind9/doc'
> make[1]: *** [Makefile:635: all-recursive] Error 1
> make[1]: Leaving directory '/opt/usr/mayer/nuc/bind9'
> make: *** [Makefile:538: all] Error 2
> 
> Not sure why "ld" takes the library from /usr/local/lib
> 
> So I copied from the source tree
> cp lib/ns/.libs/libns-9.20.27-dev.so /usr/local/lib/libns-9.20.27-dev.so
> 
> I run "make" again and everything was fine.
> 
> I hope this was a one-time issue.
> Otherwise it would be hard to make automatic updates.
> 
> Kind regards
> Hans
> 
> --
> 
> 
> --
> Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list.



More information about the bind-users mailing list