symbol lookup error: /lib/systemd/libsystemd-shared-247.so: undefined symbol: seccomp_api_get
indicates there was a problem finding the specified symbol from the linked libraries. it looks similar to this bug report [0] but the cause might be different, or it can be leftover shared object files that were copied manually(?)ldd /lib/systemd/libsystemd-shared-247.so
dpkg -L libseccomp2
/var/cache/apt/archives
directory, or you can download it with apt
)Thank you very much. I tried to manually install the version of libseccomp.so.2.5.1. The problem was finally solved last night and I can go to sleep.hi,
symbol lookup error: /lib/systemd/libsystemd-shared-247.so: undefined symbol: seccomp_api_get
indicates there was a problem finding the specified symbol from the linked libraries. it looks similar to this bug report [0] but the cause might be different, or it can be leftover shared object files that were copied manually(?)
to debug your system you can try booting into single user mode (the exact way you do this will depend on your bootloader, e.g. GRUB vs. systemd-boot depending on how you installed your PVE).
when you boot into a shell please post the output from the following commands:
*ldd /lib/systemd/libsystemd-shared-247.so
*dpkg -L libseccomp2
you could also then try downgrading the systemd package manually (could be in/var/cache/apt/archives
directory, or you can download it withapt
)
[0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944726
.... symbol lookup error: /lib/systemd/libsystemd-shared-247.so: undefined symbol: ZSTD_compressStream2
root@my-hostname-1:~# dpkg -i libsystemd0_247.3-6_amd64.deb
(Reading database ... 181691 files and directories currently installed.)
Preparing to unpack libsystemd0_247.3-6_amd64.deb ...
Unpacking libsystemd0:amd64 (247.3-6) over (247.3-6) ...
Setting up libsystemd0:amd64 (247.3-6) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...
root@my-hostname:~# ldd /lib/systemd/libsystemd-shared-247.so
linux-vdso.so.1 (0x00007ffd1d9f9000)
libacl.so.1 => /usr/lib/x86_64-linux-gnu/libacl.so.1 (0x00007fa072a82000)
libblkid.so.1 => /usr/lib/x86_64-linux-gnu/libblkid.so.1 (0x00007fa072a31000)
libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007fa072a26000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007fa0729eb000)
libgcrypt.so.20 => /usr/lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007fa0728cb000)
libip4tc.so.2 => /usr/lib/x86_64-linux-gnu/libip4tc.so.2 (0x00007fa0728c1000)
libkmod.so.2 => /usr/lib/x86_64-linux-gnu/libkmod.so.2 (0x00007fa0728a3000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fa072880000)
libmount.so.1 => /usr/lib/x86_64-linux-gnu/libmount.so.1 (0x00007fa072823000)
libpam.so.0 => /lib/x86_64-linux-gnu/libpam.so.0 (0x00007fa072811000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fa072806000)
libseccomp.so.2 => /usr/lib/x86_64-linux-gnu/libseccomp.so.2 (0x00007fa0727e3000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007fa0727b5000)
libzstd.so.1 => /usr/local/lib/libzstd.so.1 (0x00007fa072507000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fa0724df000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa0724d9000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa0724b7000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa0722f2000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa072d32000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fa0722ca000)
libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007fa071fe1000)
libaudit.so.1 => /lib/x86_64-linux-gnu/libaudit.so.1 (0x00007fa071fb0000)
libpcre2-8.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007fa071f18000)
libcap-ng.so.0 => /lib/x86_64-linux-gnu/libcap-ng.so.0 (0x00007fa071f10000)
proxmox-ve: 6.4-1 (running kernel: 5.4.157-1-pve)
pve-manager: not correctly installed (running version: 7.1-8/5b267f33)
pve-kernel-5.4: 6.4-11
pve-kernel-helper: 6.4-11
pve-kernel-5.3: 6.1-6
pve-kernel-5.4.157-1-pve: 5.4.157-1
pve-kernel-5.4.78-2-pve: 5.4.78-2
pve-kernel-5.4.65-1-pve: 5.4.65-1
pve-kernel-5.4.41-1-pve: 5.4.41-1
pve-kernel-5.4.34-1-pve: 5.4.34-2
pve-kernel-4.15: 5.4-12
pve-kernel-5.3.18-3-pve: 5.3.18-3
pve-kernel-5.3.13-3-pve: 5.3.13-3
pve-kernel-5.3.13-1-pve: 5.3.13-1
pve-kernel-4.15.18-24-pve: 4.15.18-52
pve-kernel-4.15.18-23-pve: 4.15.18-51
pve-kernel-4.13.4-1-pve: 4.13.4-26
pve-kernel-4.10.17-3-pve: 4.10.17-23
ceph-fuse: 14.2.21-1
corosync: 3.1.5-pve2~bpo10+1
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown: residual config
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.3-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2~bpo10+1
libproxmox-acme-perl: 1.4.0
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: not correctly installed
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-14
libpve-guest-common-perl: not correctly installed
libpve-http-server-perl: 4.0-4
libpve-storage-perl: not correctly installed
libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.11-1
lxcfs: 4.0.11-pve1
novnc-pve: 1.3.0-1
proxmox-backup-client: 2.1.2-1
proxmox-backup-file-restore: 2.1.2-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-4
pve-cluster: not correctly installed
pve-container: not correctly installed
pve-docs: 6.4-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: not correctly installed
pve-firmware: 3.3-2
pve-ha-manager: not correctly installed
pve-i18n: 2.3-1
pve-qemu-kvm: 6.1.0-3
pve-xtermjs: 4.7.0-3
qemu-server: not correctly installed
smartmontools: 7.2-pve2
spiceterm: 3.1-1
swtpm: 0.7.0~rc1+2
vncterm: 1.6-2
zfsutils-linux: 2.0.6-pve1~bpo10+1