Re: current amd64 snapshot 20250807 pkgbase installation seems broken
Date: Sun, 10 Aug 2025 08:44:10 UTC
tetrosalame <tml_at_seiruote.it> wrote on Date: Sun, 10 Aug 2025 07:27:56 UTC : > Il 10/08/2025 06:08, cyric@mm.st ha scritto: > >> Console says (ALT-F4): > >> ld-els.so.1: Shared object "libutil.so.9" not found, required by "pkg" > > > > Not really a snapshot problem, packages aren't rebuilt yet to utilize > > libutil.so.10 (same problem here). Once it's done, just use pkg-static. > > Thank you for your reply. > Maybe I failed to explain my problem, or I just misunderstood you: I > meant that the pkg binary shipped with installation media couldn't run > and so failed to add base packages. > I don't think that tinkering with pkg-static during the first > installation of the OS is right. The 'pkg' involved came from a FreeBSD port-package distribution server. Those are/were not providing packages that are/were based on libutil.so.10 yet but main has progressed to use/require libutil.so.10 . libssl.so.* and libcrypto.so.* also have such issues: # ldd /usr/local/sbin/pkg | grep "not found" libutil.so.9 => not found (0) libssl.so.30 => not found (0) libcrypto.so.30 => not found (0) # ls -lodT /lib/libutil.so.* /usr/lib/libssl.so.* /lib/libcrypto.so.* -r--r--r-- 1 root wheel uarch 6299824 Aug 9 07:04:07 2025 /lib/libcrypto.so.35 -r--r--r-- 1 root wheel uarch 88328 Aug 9 13:33:53 2025 /lib/libutil.so.10 -r--r--r-- 1 root wheel uarch 1045168 Aug 9 07:04:07 2025 /usr/lib/libssl.so.35 It takes a while for poudriere jail worlds on the official port-package builders to be a compatible vintage. The current problems, such as zfs panics, will tend to delay having an overall combination that works. In my context I was able to use pkg-static for what I needed to do. It does not use the external libraries that are in question here. I'll note that the bootstrap pkg that is part of the system build (not a port-package build) is up to date, no "not found" indicated below and all 3 above have the new numbers: # ldd /usr/sbin/pkg /usr/sbin/pkg: libarchive.so.7 => /usr/lib/libarchive.so.7 (0xaec0fa7f000) libfetch.so.6 => /usr/lib/libfetch.so.6 (0xaec10988000) libprivateucl.so.1 => /usr/lib/libprivateucl.so.1 (0xaec10fdd000) libcrypto.so.35 => /lib/libcrypto.so.35 (0xaec11400000) libssl.so.35 => /usr/lib/libssl.so.35 (0xaec12129000) libutil.so.10 => /lib/libutil.so.10 (0xaec131be000) libmd.so.7 => /lib/libmd.so.7 (0xaec1351c000) libc.so.7 => /lib/libc.so.7 (0xaec14465000) libz.so.6 => /lib/libz.so.6 (0xaec15632000) libbz2.so.4 => /usr/lib/libbz2.so.4 (0xaec1624c000) liblzma.so.5 => /usr/lib/liblzma.so.5 (0xaec17179000) libbsdxml.so.4 => /lib/libbsdxml.so.4 (0xaec173a2000) libprivatezstd.so.5 => /usr/lib/libprivatezstd.so.5 (0xaec17667000) libm.so.5 => /lib/libm.so.5 (0xaec184ac000) libthr.so.3 => /lib/libthr.so.3 (0xaec0eeba000) libsys.so.7 => /lib/libsys.so.7 (0xaec197fe000) [vdso] (0xaec0dad5000) === Mark Millard marklmi at yahoo.com