Latest hyprland git broken - missing libhyprutils.so.5

  • Search the web and forums - I did. Found mention of similar issues in AUR notes where I need to rebuild hypr* git packages. AUR (en) - hyprutils-git

Installed latest updates (via garuda-update) which included hyprland-git from AUR/Chaotic. Rebooted and hyprland won’t start. Manually trying to start it from the command line gives me the following error:

Hyprland: error while loading shared libraries: libhyprutils.so.5: cannot open shared object file: No such file or directory

Comments I found in AUR was to rebuild packages that depend on hyprutils-git but (and I may be mistaken here) since Garuda uses Chaotic the packages are already built and can’t be rebuilt.

yay -S --rebuild hypridle hyprsunset xdg-desktop-portal-hyprland hyprcursor-git hyprgraphics-git hyprland-git hyprland-qt-support-git hyprland-qtutils-git hyprlang-git hyprlock-git hyprpicker-git hyprshot hyprutils-git hyprwayland-scanner-git libastal-hyprland-git aquamarine-git grimblast-git garuda-hyprland-settings hyprsysteminfo

But hyprland still won’t start.

Been fighting with this for 3 days with no luck. Been restoring snapshots to get back into system but now it doesn’t seem like garuda-update is making snapshots.

Here’s a list of the hypr packages I have installed.

➜ sudo pacman -Ss hypr | grep installed 
garuda/garuda-hyprland-settings 0.4.166-2 [installed]
extra/hypridle 0.1.6-4 [installed]
extra/hyprsunset 0.2.0-4 [installed]
extra/xdg-desktop-portal-hyprland 1.3.9-9 [installed]
chaotic-aur/grimblast-git r127.bc2ad24-1 [installed]
chaotic-aur/hyprcursor-git 0.1.12.r2.gac903e8-1 [installed]
chaotic-aur/hyprgraphics-git 0.1.3.r1.g6075491-1 [installed]
chaotic-aur/hyprland-git 0.48.1.r142.g1f50cdf-1 [installed]
chaotic-aur/hyprland-qt-support-git 0.1.0.r8.g073c52b-1 [installed]
chaotic-aur/hyprland-qtutils-git 0.1.4.r0.g4be1d32-1 [installed]
chaotic-aur/hyprlang-git 0.6.1.r1.g397600c-1 [installed]
chaotic-aur/hyprlock-git 0.8.2.r1.ge3bd47e-1 [installed]
chaotic-aur/hyprpicker-git 0.4.5.r0.g980ebd4-1 [installed]
chaotic-aur/hyprshot 1.3.0-2.3 [installed]
chaotic-aur/hyprutils-git 0.7.0.r0.g05878d9-1 [installed]
chaotic-aur/hyprwayland-scanner-git 0.4.4.r2.g206367a-1 [installed]
chaotic-aur/libastal-hyprland-git r772.07583de-1 [installed]

Forum search,

fix it.

In tty as root, in log in page

sudo ln -s  /usr/lib/libhyprutils.so.6  /usr/lib/libhyprutils.so.5

Beware that if you are using plugins installed using hyprpm you are likely to need to switch to the hyprland package from extra (instead of hyprland-git), and then similarly for a couple of associated packages.