Re: libutil.so.9 not found (was: HEADS-UP: pkgbase pkg upgrade breaks systems Re: after updating to latest, pkg base segfaults and leaves me unbootable)

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Wed, 13 Aug 2025 08:00:06 UTC
Libmap.conf might help as a workaround in the meantime.
Map util.9 to util.10.  

Van: Graham Perrin <grahamperrin@gmail.com>
Datum: 13 augustus 2025 08:35
Aan: freebsd-current@freebsd.org
CC: freebsd-pkgbase@freebsd.org
Onderwerp: libutil.so.9 not found (was: HEADS-UP: pkgbase pkg upgrade breaks systems Re: after updating to latest, pkg base segfaults and leaves me unbootable)

> 
> 
> On 11/08/2025 01:17, Dan Mahoney (Ports) wrote:
> > … pkg is still being persnickety, and I don't know what the mechanism is to bootstrap it is:
> >
> > # ldd /usr/local/sbin/pkg
> > /usr/local/sbin/pkg:
> >          libelf.so.2 => /lib/libelf.so.2 (0x2a08ac8d1000)
> >          libjail.so.1 => /lib/libjail.so.1 (0x2a08ad283000)
> >          libm.so.5 => /lib/libm.so.5 (0x2a08adcbd000)
> >          libarchive.so.7 => /usr/lib/libarchive.so.7 (0x2a08ae37a000)
> >          libz.so.6 => /lib/libz.so.6 (0x2a08abe01000)
> >          libutil.so.9 => not found (0)
> >          …
> 
> 
> I guess, that explains pkg non-usable in the shell when booting
> FreeBSD-15.0-CURRENT-amd64-20250807-02f394281fd6-279407-disc1.iso
> 
> > ld-elf.so.1: Shared object "libutil.so.9" not found, required by "pkg"
> 
> 
> 
> 
> 
>