After updating to nettle 3.10, smbstatus in Samba complains: ld-elf.so.1: /usr/local/lib/libnettle.so.8: version NETTLE_8 required by /usr/local/lib/libgnutls.so.30 not defined Restarting samba also fails with: Performing sanity check on Samba configuration: FAILED
Try to rebuild security/gnutls.
That worked. Please consider adding an entry to /usr/ports/UPDATING about the gnutls rebuild requirement.
Better just bump gnutls PORTREVISION.
Created attachment 251598 [details] patch Fix libnettle.so symbol versioning.
The problem is caused by a configure test for --version-script that fails. The patch above enables the use of --version-script and skips the test.
(In reply to Tijl Coosemans from comment #4) Thanks for the fix.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c210e46352d9752ded68ca31f75504fb500e263 commit 8c210e46352d9752ded68ca31f75504fb500e263 Author: Tijl Coosemans <tijl@FreeBSD.org> AuthorDate: 2024-06-21 09:53:10 +0000 Commit: Tijl Coosemans <tijl@FreeBSD.org> CommitDate: 2024-06-22 18:20:33 +0000 security/nettle: Restore symbol versions PR: 279856 Approved by: sunpoet (maintainer) Fixes: b2a6480826f3 security/nettle/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)