Possibly linked issue to this:
On Wed, Aug 13, 2025 at 07:34:46AM +0100, Graham Perrin wrote:
ld-elf.so.1: Shared object "libutil.so.9" not found, required by "pkg"
On a system that had been source upgraded from
stable/15-n280668-998dd4a11a2b 1500500 1500500 amd64
to
stable/15-n280740-317a5dd0288e 1500500 1500500 amd64
reboot and then cd /usr/src && git pull --ff-only (it updates)
then:
# make -j10 buildworld && make -j10 kernel
--- buildworld ---
make[1]: /usr/src/Makefile.inc1:362: SYSTEM_COMPILER: Determined that
CC=/usr/local/bin/ccache cc matches the source tree. Not bootstrapping a
cross-compiler.
make[1]: /usr/src/Makefile.inc1:367: SYSTEM_LINKER: Determined that LD=ld
matches the source tree. Not bootstrapping a cross-linker.
--------------------------------------------------------------
World build started on Sun Oct 19 13:52:47 BST 2025
--------------------------------------------------------------
Deleting stale files in build tree...
ld-elf.so.1: Shared object "libutil.so.9" not found, required by "env"
0.00 real 0.00 user 0.00 sys
*** [_cleanworldtmp] Error code 1
--