slackware64-current can't locate libzstd.so.1 during boot
by slackwhere from LinuxQuestions.org on (#5E51A)
Just installed slackware64-current and getting these messages during boot:
--------------------------------------------------------------------------------
Sat Feb 13 12:28:34 2021: mount: proc mounted on /proc.
Sat Feb 13 12:28:34 2021: Creating static nodes in /dev.
Sat Feb 13 12:28:34 2021: kmod: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
Sat Feb 13 12:28:34 2021: grep: /run/static-nodes: No such file or directory
Sat Feb 13 12:28:34 2021: grep: /run/static-nodes: No such file or directory
Sat Feb 13 12:28:34 2021: Starting udevd: /sbin/udevd --daemon
Sat Feb 13 12:28:34 2021: /sbin/udevd: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
Sat Feb 13 12:28:34 2021: Triggering udev events: /sbin/udevadm trigger --action=add
Sat Feb 13 12:28:34 2021: /sbin/udevadm: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
Sat Feb 13 12:28:34 2021: /sbin/udevadm: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
Sat Feb 13 12:28:34 2021: /sbin/udevadm: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
Sat Feb 13 12:28:34 2021: Initializing LVM (Logical Volume Manager):
Sat Feb 13 12:28:34 2021: Found volume group "vg01" using metadata type lvm2
Sat Feb 13 12:28:34 2021: Found volume group "vg00" using metadata type lvm2
Sat Feb 13 12:28:34 2021: 0 logical volume(s) in volume group "vg01" now active
Sat Feb 13 12:28:34 2021: 4 logical volume(s) in volume group "vg00" now active
Sat Feb 13 12:28:34 2021: Setting the system clock rate: /sbin/adjtimex --tick 10000 --frequency 0
Sat Feb 13 12:28:34 2021: Setting system time from the hardware clock (UTC): Sat Feb 13 17:28:34 UTC 2021
Sat Feb 13 12:28:34 2021: Testing root filesystem status: read-only filesystem
Sat Feb 13 12:28:34 2021: Checking root filesystem:
Sat Feb 13 12:28:34 2021: fsck from util-linux 2.36.2
Sat Feb 13 12:28:34 2021: /sbin/fsck.xfs: XFS file system.
Sat Feb 13 12:28:34 2021: Remounting root device with read-write enabled.
Sat Feb 13 12:28:34 2021: mount: /dev/mapper/vg00-root mounted on /.
Sat Feb 13 12:28:34 2021: Updating module dependency list for 5.10.15: /sbin/depmod --quick
Sat Feb 13 12:28:34 2021: /sbin/depmod: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
Sat Feb 13 12:28:34 2021: Configuring kernel parameters: /sbin/sysctl -e --system
Sat Feb 13 12:28:34 2021: Checking non-root filesystems:
Sat Feb 13 12:28:34 2021: fsck from util-linux 2.36.2
Sat Feb 13 12:28:34 2021: /dev/sda5: clean, 909/131072 files, 31580/524288 blocks
Sat Feb 13 12:28:34 2021: /sbin/fsck.xfs: XFS file system.
Sat Feb 13 12:28:34 2021: /sbin/fsck.xfs: XFS file system.
Sat Feb 13 12:28:34 2021: /sbin/fsck.xfs: XFS file system.
--------------------------------------------------------------------------------
The file is installed.
root@darkstar:/usr/lib64# ls -l /usr/lib64/libzstd*
lrwxrwxrwx 1 root root 16 Nov 21 00:09 /usr/lib64/libzstd.so -> libzstd.so.1.4.8*
lrwxrwxrwx 1 root root 16 Nov 21 00:09 /usr/lib64/libzstd.so.1 -> libzstd.so.1.4.8*
-rwxr-xr-x 1 root root 713344 Jan 20 16:49 /usr/lib64/libzstd.so.1.4.8*
I presume this is happening because /usr is not mounted at this stage in the boot. I believe I could copy the library to /lib64 but I'm wondering if anyone else is seeing this or if there is a cleaner solution.
Thanks,
Wayne


--------------------------------------------------------------------------------
Sat Feb 13 12:28:34 2021: mount: proc mounted on /proc.
Sat Feb 13 12:28:34 2021: Creating static nodes in /dev.
Sat Feb 13 12:28:34 2021: kmod: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
Sat Feb 13 12:28:34 2021: grep: /run/static-nodes: No such file or directory
Sat Feb 13 12:28:34 2021: grep: /run/static-nodes: No such file or directory
Sat Feb 13 12:28:34 2021: Starting udevd: /sbin/udevd --daemon
Sat Feb 13 12:28:34 2021: /sbin/udevd: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
Sat Feb 13 12:28:34 2021: Triggering udev events: /sbin/udevadm trigger --action=add
Sat Feb 13 12:28:34 2021: /sbin/udevadm: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
Sat Feb 13 12:28:34 2021: /sbin/udevadm: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
Sat Feb 13 12:28:34 2021: /sbin/udevadm: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
Sat Feb 13 12:28:34 2021: Initializing LVM (Logical Volume Manager):
Sat Feb 13 12:28:34 2021: Found volume group "vg01" using metadata type lvm2
Sat Feb 13 12:28:34 2021: Found volume group "vg00" using metadata type lvm2
Sat Feb 13 12:28:34 2021: 0 logical volume(s) in volume group "vg01" now active
Sat Feb 13 12:28:34 2021: 4 logical volume(s) in volume group "vg00" now active
Sat Feb 13 12:28:34 2021: Setting the system clock rate: /sbin/adjtimex --tick 10000 --frequency 0
Sat Feb 13 12:28:34 2021: Setting system time from the hardware clock (UTC): Sat Feb 13 17:28:34 UTC 2021
Sat Feb 13 12:28:34 2021: Testing root filesystem status: read-only filesystem
Sat Feb 13 12:28:34 2021: Checking root filesystem:
Sat Feb 13 12:28:34 2021: fsck from util-linux 2.36.2
Sat Feb 13 12:28:34 2021: /sbin/fsck.xfs: XFS file system.
Sat Feb 13 12:28:34 2021: Remounting root device with read-write enabled.
Sat Feb 13 12:28:34 2021: mount: /dev/mapper/vg00-root mounted on /.
Sat Feb 13 12:28:34 2021: Updating module dependency list for 5.10.15: /sbin/depmod --quick
Sat Feb 13 12:28:34 2021: /sbin/depmod: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
Sat Feb 13 12:28:34 2021: Configuring kernel parameters: /sbin/sysctl -e --system
Sat Feb 13 12:28:34 2021: Checking non-root filesystems:
Sat Feb 13 12:28:34 2021: fsck from util-linux 2.36.2
Sat Feb 13 12:28:34 2021: /dev/sda5: clean, 909/131072 files, 31580/524288 blocks
Sat Feb 13 12:28:34 2021: /sbin/fsck.xfs: XFS file system.
Sat Feb 13 12:28:34 2021: /sbin/fsck.xfs: XFS file system.
Sat Feb 13 12:28:34 2021: /sbin/fsck.xfs: XFS file system.
--------------------------------------------------------------------------------
The file is installed.
root@darkstar:/usr/lib64# ls -l /usr/lib64/libzstd*
lrwxrwxrwx 1 root root 16 Nov 21 00:09 /usr/lib64/libzstd.so -> libzstd.so.1.4.8*
lrwxrwxrwx 1 root root 16 Nov 21 00:09 /usr/lib64/libzstd.so.1 -> libzstd.so.1.4.8*
-rwxr-xr-x 1 root root 713344 Jan 20 16:49 /usr/lib64/libzstd.so.1.4.8*
I presume this is happening because /usr is not mounted at this stage in the boot. I believe I could copy the library to /lib64 but I'm wondering if anyone else is seeing this or if there is a cleaner solution.
Thanks,
Wayne