You are not logged in.

#1 Yesterday 14:03:00

GscheadaHamme
Member
Registered: 2021-01-12
Posts: 11

[SOLVED] hyprland > 0.55.4-1 crashes, missing libhyprutils.so.12

When upgrading hyprland (currently 0.55.4-1) it crashes with this error:

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

Reinstallation does not solve the issue.

Do you have any tips on how to tackle this problem?

Last edited by GscheadaHamme (Yesterday 23:00:49)

Offline

#2 Yesterday 14:54:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,688

Re: [SOLVED] hyprland > 0.55.4-1 crashes, missing libhyprutils.so.12

https://archlinux.org/packages/extra/x86_64/hyprutils/ ships usr/lib/libhyprutils.so.0.14.3 & usr/lib/libhyprutils.so.13 but https://archlinux.org/packages/extra/x86_64/hyprland/ was rebuilt 1h ago, does it fix w/ an update?
If not, what process exactly requires libhyprutils.so.12 ?

Offline

#3 Yesterday 16:20:49

GscheadaHamme
Member
Registered: 2021-01-12
Posts: 11

Re: [SOLVED] hyprland > 0.55.4-1 crashes, missing libhyprutils.so.12

% pactree -r hyprutils 
hyprutils
├─aquamarine
│ ├─hyprland
│ └─hyprtoolkit
│   ├─hyprland-guiutils
│   │ └─hyprland
│   ├─hyprpolkitagent
│   └─hyprshutdown
├─hyprgraphics
│ ├─hyprland
│ ├─hyprlock
│ ├─hyprpolkitagent
│ └─hyprtoolkit
├─hyprland
├─hyprland-guiutils
├─hyprlang
│ ├─hyprcursor
│ │ └─hyprland
│ ├─hypridle
│ ├─hyprland
│ ├─hyprland-guiutils
│ ├─hyprland-qt-support
│ │ └─hyprpolkitagent
│ ├─hyprlock
│ ├─hyprsunset
│ ├─hyprtoolkit
│ └─xdg-desktop-portal-hyprland
├─hyprlock
├─hyprpolkitagent
├─hyprshutdown
├─hyprsunset
├─hyprtoolkit
├─hyprwire
│ └─hyprland
└─xdg-desktop-portal-hyprland

Out of those packages, only those three packages are not updated when I update hyprland:
- hyprcursor (recursive dependency via hyprlang): most recent version compiled on 18 Jul 2026
- hyprland-qt-support (recursive dependency via hyprlang): most recent version compiled on 24 Aug 2026
- hyprpolkitagent (direct dependency): most recent version compiled on 02 Nov 2026

How can I find out a dependency on libhyprutils.so.12, not on the hyprutils package?

Last edited by GscheadaHamme (Yesterday 16:21:54)

Offline

#4 Yesterday 17:23:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,688

Re: [SOLVED] hyprland > 0.55.4-1 crashes, missing libhyprutils.so.12

Well, what command causes the error you posted?
You can run ldd on all files in /usr*/bin and /usr*lib but if this is coming from sth in /opt that would still not help.

Offline

#5 Yesterday 22:59:00

GscheadaHamme
Member
Registered: 2021-01-12
Posts: 11

Re: [SOLVED] hyprland > 0.55.4-1 crashes, missing libhyprutils.so.12

Thanks a lot, ldd was really helpful.

After running this

fd --type x --hidden --no-ignore --search-path /usr -x sh -c '
  if ldd "$1" 2>/dev/null | grep -q "libhyprutils.so.12"; then
    owner=$(pacman -Qoq "$1" 2>/dev/null || echo "(not owned)")
    printf "%s: %s\n" "$owner" "$1"
  fi
' _ {}

(its smaller version

fd --type x --hidden --no-ignore --search-path /usr -x sh -c 'ldd "$1" 2>/dev/null | grep -q "libhyprutils.so.12" && echo "$1"' _ {}

would have been enough)

I found out that in /usr/local/bin there were some binaries (hyprctl, hyprland, Hyprland, hyprpm, start-hyprland) that required the old libhyprutils.so.12

After moving them to a backup directory and updating again, hyprland now doesn't crash on startup and runs again.

Offline

Board footer

Powered by FluxBB