Re: FreeBSD 15.0-RELEASE: Trouble after upgrade

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Tue, 02 Dec 2025 16:08:50 UTC
The Doctor <doctor@doctor.nl2k.ab.ca> writes:
> Odhiambo Washington <odhiambo@gmail.com> writes:
> > Dec  2 15:13:00 gw /usr/sbin/cron[88206]: in try_dlopen():
> > /usr/lib/pam_nologin.so.6: /lib/libutil.so.10: Undefined symbol
> > "initgroups@FBSD_1.8"
> Same problems here.  What I am doing is trying to find a library that exists and
> link accordingly.

initgroups@FBSD_1.8 is provided by /lib/libc.so.7.

I suspect that the root cause of your problem is that you upgraded
directly from 14.3-RELEASE-p3 or older to 15.0-RELEASE instead of first
updating to 14.3-RELEASE-p6.

Please let me know ASAP if you are certain that this is not the case
(i.e. you had 14.3-RELEASE-p4 or newer prior to upgrading to 15.0), in
which case I will investigate further.

Note that if you are using ZFS, freebsd-update will have automatically
saved a boot enviromnent before the upgrade and you can simply revert to
14.3 and redo the upgrade properly.

Otherwise, as long as you can get a root shell on the system, you can
fix it manually as follows:

    # /rescue/fetch http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/15.0-RELEASE/base.txz
    # /rescue/tar xf base.txz -C / lib/libc.so.7 lib/libsys.so.7

Once the system is back up, you should run `freebsd-update IDS` to
figure out if anything else needs fixing.  I recommend redirecting the
output to a log file.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org