Shared object "libmd.so.6" not found, requiere by "Xorg"

I just updated from 14.3 p6 to 15 release with Xfce, and when I try to access the desktop I get the following error:
 

Attachments

  • IMG_20251204_114548705_MFNR.jpg
    IMG_20251204_114548705_MFNR.jpg
    1.1 MB · Views: 450
pkg info | grep compat14x

it looks like that lib (/usr/local/lib/compat/libmd.so.6) comes from compat14x-amd64 package
 
Have you done pkg bootstrap -f (or pkg-static bootstrap -f)?
I did it after the update to version 15, and now I've done it again.

Now it's just looping, restarting every 15 seconds...

Updates to new branches have never worked for me, and today was no exception.
 
System crashed again...

Thanks to everyone who helped!
 

Attachments

  • IMG_20251204_153837137_MFNR.jpg
    IMG_20251204_153837137_MFNR.jpg
    52.3 KB · Views: 255
Now it's back to 14.3 p1...

Code:
sistema@node:~ $ freebsd-version -kru
14.3-RELEASE
14.3-RELEASE
14.3-RELEASE-p1
sistema@node:~ $ sudo freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 14.3-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata patches.. done.
Applying metadata patches... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 63 patches.....10....20....30....40....50....60. done.
Applying patches... done.
Fetching 64 files... ....10....20....30....40....50....60.. done.
The following files will be updated as part of updating to
14.3-RELEASE-p6:
/bin/freebsd-version
/boot/kernel/efirt.ko
/boot/kernel/hv_vmbus.ko
/boot/kernel/if_bnxt.ko
/boot/kernel/kernel
/boot/kernel/wlan_tkip.ko
/boot/loader.efi
/boot/loader_4th.efi
/boot/loader_ia32.efi
/boot/loader_lua.efi
/boot/loader_simp.efi
/lib/libcrypto.so.30
/rescue/[
/rescue/bectl
/rescue/bsdlabel
/rescue/bunzip2
/rescue/bzcat
/rescue/bzip2
/rescue/camcontrol
/rescue/cat
/rescue/ccdconfig
/rescue/chflags
/rescue/chgrp
/rescue/chio
/rescue/chmod
/rescue/chown
/rescue/chroot
/rescue/clri
/rescue/cp
/rescue/csh
/rescue/date
/rescue/dd
/rescue/devfs
/rescue/df
/rescue/dhclient
/rescue/disklabel
/rescue/dmesg
/rescue/dump
/rescue/dumpfs
/rescue/dumpon
/rescue/echo
/rescue/ed
/rescue/ex
/rescue/expr
/rescue/fastboot
/rescue/fasthalt
sistema@node:~ $ sudo freebsd-update install
Creating snapshot of existing boot environment... done.
Installing updates...
Restarting sshd after upgrade
Performing sanity check on sshd configuration.
Stopping sshd.
Waiting for PIDS: 15215, 15215.
Performing sanity check on sshd configuration.
Starting sshd.
 done.
sistema@node:~ $ freebsd-version -kru
14.3-RELEASE-p5
14.3-RELEASE
14.3-RELEASE-p6
sistema@node:~ $ sudo freebsd-update install
No updates are available to install.
Run 'freebsd-update [options] fetch' first.
sistema@node:~ $ freebsd-version -kru
14.3-RELEASE-p5
14.3-RELEASE
14.3-RELEASE-p6
sistema@node:~ $

At least I was able to log back into Xfce with startx, although Firefox and other things are out of configuration.
 
To log in at boot time, I have to press 8 and then 2 Activate zfs ....
 

Attachments

  • 1000074838_2_300x226.jpg
    1000074838_2_300x226.jpg
    16.8 KB · Views: 308
  • 1000074839_300x226.jpg
    1000074839_300x226.jpg
    16 KB · Views: 431
  • 1000074840_300x226.jpg
    1000074840_300x226.jpg
    14 KB · Views: 390
So, after pressing 2 Active 14 times in the last photo, I can enter the tty and log in... otherwise, without doing everything I mentioned, a kernel-panic type screen appears with a permanent restart every 15 seconds...
 
Disable kld_list in /etc/rc.conf. It tries to load the graphics/drm-kmod from 14.x on the new 15.0 kernel, this causes it to crash. Disable it during the upgrade, do the whole upgrade procedure (OS, packages, etc). Then enable kld_list again.
 
Disable kld_list in /etc/rc.conf. It tries to load the graphics/drm-kmod from 14.x on the new 15.0 kernel, this causes it to crash. Disable it during the upgrade, do the whole upgrade procedure (OS, packages, etc). Then enable kld_list again.
It turns out that now it doesn't reach version 15.
When I restart and look at freebsd-version, it shows me versions of 14.3 p2 and nothing holds up, everything goes back to 14.3 in different p2 p5 p6.

Code:
sistema@node:~ $ freebsd-version -kru
14.3-RELEASE-p3
14.3-RELEASE-p3
14.3-RELEASE-p3
 
Very likely. Select the 'default' BE, and boot it in single user mode. Don't boot this 'normally' or it will simply crash on you again.
zfs set readonly=off zroot/ROOT/default # or else everything will be read-only
zfs mount -a
Edit /etc/rc.conf and remark the kld_list line. Then reboot and boot the 'default' BE normally. That should put you past the spot you left off on due to the crash, with a 15.0-RELEASE kernel but still a 14.3-RELEASE userland. Then continue the freebsd-update install, pkg bootstrap -f, pkg upgrade. And a final freebsd-update install to remove all the old 14.x libraries and other old things. When you've done the whole upgrade dance, enable kld_list again in rc.conf.
 
This is where I am, according to the photo.
 

Attachments

  • IMG_20251205_113600878_MFNR.jpg
    IMG_20251205_113600878_MFNR.jpg
    42 KB · Views: 288
Back
Top