Hyprland version
Hyprland 0.51.1 built from branch at commit 71a1216abcc7031776630a6d88f105605c4dc1c9 ([gha] Nix: update inputs).
Date: Mon Sep 22 20:54:03 2025
Tag: v0.51.1, commits: 6436
built against:
aquamarine 0.9.4
hyprlang 0.6.3
hyprutils 0.8.4
hyprcursor 0.1.13
hyprgraphics 0.1.6
no flags were set
Hi, I wanted to share an issue I encountered when using hyprland-git on Arch Linux, in case it helps others.
After a system update, Hyprland failed to start with the following error:
Hyprland: error while loading shared libraries: libdisplay-info.so.2: cannot open shared object file: No such file or directory
The problem was caused by libdisplay-info being updated to libdisplay-info.so.3, while my locally built hyprland-git binary was still linked against .so.2. This led to a broken dependency and the compositor wouldn’t launch.
Steps I took to fix it:
Rebuilt the whole Hyprland git stack (hyprland-git, wlroots-git, hyprutils-git, etc.) with
yay -Syu --devel --timeupdate
→ this aligns all -git packages with the updated libraries.
Later, to avoid frequent breakages, I decided to switch back to the official Hyprland packages from the Arch repos (hyprland, hyprutils, hyprcursor, hyprgraphics, hyprlang, hyprwayland-scanner, etc.).
I had to replace the -git packages step by step, removing blockers like hyprlang-git first, then reinstalling the stable equivalents.
After cleaning up leftover -git and -git-debug packages, Hyprland launched without issues.
Conclusion:
If anyone runs into a similar error with hyprland-git on Arch, the solution is to rebuild all related -git packages after a SONAME bump, or alternatively, switch to the stable repo version to avoid ABI mismatches.