[SOLVED] can't use wayland compositors because dont have libsystemd.so.0 18 March 2024, 19:04:15 If I try to run sway or hyprland, I get the error:sway: error while loading shared libraries: libsystemd.so.0: cannot open shared object file: No such file or directoryI am a bit confused because it seems like systemd is required, but they are on the artix repo...I tried running elogind but that made no difference.I am connected to the arch repo as well, is it possible I downloaded the wrong version? Usually it seems to give me an option to choose which source if the file is in mutiple repos but it did not give me that option in this case...Appreciate any insight! Thanks!Edit: I'm using runit. Last Edit: 19 March 2024, 13:58:16 by Hitman
Re: can't use wayland compositors because dont have libsystemd.so.0 Reply #1 – 18 March 2024, 19:17:37 Have a look at pacman -Qi for each of those packages and I expect you'll see *@archlinux in the 'Packager' field.If you do you can reinstall but put world/ in front of the package nameCode: [Select]pacman -Syu world/sway world/hyperlandIf you get an an error about signatures & corrupt you can choose yes, delete and it should work the second time.Or just go and delete the packages and .sig's from /var/cache/pacman/pkg before you start.
Re: can't use wayland compositors because dont have libsystemd.so.0 Reply #2 – 18 March 2024, 19:22:12 Packager : Artix Build Bot <[email protected]>Damn.Edit: I had an idea. I actually tried to install river from the arch repo before I installed these ones. I assume the dependencies are mostly the same, maybe I have the wrong version of one of the depencies? Not sure how I figure out if that was true and fix it though. Last Edit: 18 March 2024, 19:32:01 by smallchicken
Re: can't use wayland compositors because dont have libsystemd.so.0 Reply #3 – 18 March 2024, 19:32:28 Have a look at the packages sway depends on and do the same Pacman -QI for all of them or the package that provides the listed library.I just downloaded the Artix sway package and it doesn't link to libsystemd.Spoiler (click to show/hide)Quoteldd ~/Downloads/sway-1 1.9-1-x86_64.pkg/usr/bin/sway' [18:25:51] linux-vdso.so.1 (0x00007ffd579b5000) libcairo.so.2 => /usr/lib/libcairo.so.2 (0x000071b07c675000) libjson-c.so.5 => /usr/lib/libjson-c.so.5 (0x000071b07c660000) libevdev.so.2 => /usr/lib/libevdev.so.2 (0x000071b07c641000) libinput.so.10 => /usr/lib/libinput.so.10 (0x000071b07c5e2000) libudev.so.1 => /usr/lib/libudev.so.1 (0x000071b07c5ab000) libm.so.6 => /usr/lib/libm.so.6 (0x000071b07c4c1000) libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x000071b07c44d000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x000071b07c3e2000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x000071b07c27c000) libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x000071b07c1ce000) libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x000071b07c0a6000) libwayland-server.so.0 => /usr/lib/libwayland-server.so.0 (0x000071b07c08f000) libwlroots.so.12 => not found libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x000071b07c043000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0x000071b07c015000) libxcb-icccm.so.4 => /usr/lib/libxcb-icccm.so.4 (0x000071b07c00e000) libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x000071b07bffe000) libc.so.6 => /usr/lib/libc.so.6 (0x000071b07be16000) libz.so.1 => /usr/lib/libz.so.1 (0x000071b07bdf4000) libpng16.so.16 => /usr/lib/libpng16.so.16 (0x000071b07bda6000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x000071b07bd4a000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x000071b07bc52000) libX11.so.6 => /usr/lib/libX11.so.6 (0x000071b07baf4000) libXext.so.6 => /usr/lib/libXext.so.6 (0x000071b07badb000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0x000071b07bacb000) libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x000071b07babb000) libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x000071b07bab6000) /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x000071b07c8c6000) libmtdev.so.1 => /usr/lib/libmtdev.so.1 (0x000071b07baae000) libwacom.so.9 => /usr/lib/libwacom.so.9 (0x000071b07ba9f000) libcap.so.2 => /usr/lib/libcap.so.2 (0x000071b07ba90000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x000071b07ba6b000) libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x000071b07b87c000) libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x000071b07b85b000) libthai.so.0 => /usr/lib/libthai.so.0 (0x000071b07b84f000) libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x000071b07b723000) libffi.so.8 => /usr/lib/libffi.so.8 (0x000071b07b714000) libXau.so.6 => /usr/lib/libXau.so.6 (0x000071b07b70f000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x000071b07b707000) libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x000071b07b6ee000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0x000071b07b6c1000) libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x000071b07b6ac000) libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x000071b07b69d000) libgudev-1.0.so.0 => /usr/lib/libgudev-1.0.so.0 (0x000071b07b690000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x000071b07b689000) libmount.so.1 => /usr/lib/libmount.so.1 (0x000071b07b630000) libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x000071b07b625000) libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x000071b07b5f9000) libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x000071b07b5d6000) libblkid.so.1 => /usr/lib/libblkid.so.1 (0x000071b07b592000)based on that try wlroots first 1 Likes
Re: can't use wayland compositors because dont have libsystemd.so.0 Reply #4 – 18 March 2024, 19:55:18 I had to uninstall literally every wayland related program I had to get it working. Reinstalled after uninstalling (and removing orphans) and now it's working. It said something about seatd being corrupted, maybe that was the program I accidentally got from the arch repo?Anyways, thanks a bunch for the input, really helped a lot. 1 Likes
Re: can't use wayland compositors because dont have libsystemd.so.0 Reply #5 – 18 March 2024, 20:05:14 Quote from: smallchicken – on 18 March 2024, 19:55:18Anyways, thanks a bunch for the input, really helped a lot. You're welcome