Re: etcupdate failed to build tree with read-only /usr/src
- In reply to: Alastair Hogge : "Re: etcupdate failed to build tree with read-only /usr/src"
 - Go to: [ bottom of page ] [ top of archives ] [ this month ]
 
Date: Wed, 23 Apr 2025 09:38:48 UTC
Alastair Hogge <agh@riseup.net> writes:
> Dag-Erling Smørgrav <des@freebsd.org> writes:
> > Alastair Hogge <agh@riseup.net> writes:
> > > ld-elf.so.1: Shared object "libmd.so.6" not found, required by "mtree"
> > > *** Error code 1
> > This is _after_ installworld, right?  `etcupdate -p`, then installworld,
> > then `etcupdate -B`?
> Correct, and it fails in the same way as originally reported, and also
> with the patch provided in PR 286072[1].
This shouldn't happen, but it's unrelated to etcupdate.
What do the following commands say:
    find / -type f -name libmd.so.* 2>/dev/null
    find / -type f -perm 0111 -name mtree 2>/dev/null
and for each file the second command finds, e.g. /usr/sbin/mtree:
    ldd /usr/sbin/mtree
DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org