@neometra Thank you, but copying and symlinking resulted in the same outcome for me. An insta-crash when I try to start hyprland (It doesn't even starts). And so far I tried so many things but I wasted hours across multiple days trying to fix this, and that not my job, its the hyprland developers.
Search Criteria
Package Details: hyprland-git 0.48.0.r62.gd775686-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/hyprland-git.git (read-only, click to copy) |
---|---|
Package Base: | hyprland-git |
Description: | Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks |
Upstream URL: | https://github.com/hyprwm/Hyprland |
Licenses: | BSD-3-Clause |
Conflicts: | hyprland |
Provides: | hyprland, wayland-compositor |
Submitter: | hertog |
Maintainer: | Vaxry (zjeffer, alba4k) |
Last Packager: | alba4k |
Votes: | 95 |
Popularity: | 2.56 |
First Submitted: | 2022-04-12 20:26 (UTC) |
Last Updated: | 2025-04-11 23:37 (UTC) |
Dependencies (56)
- aquamarine-gitAUR
- cairo (cairo-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- glslang (glslang-gitAUR)
- hyprcursor-gitAUR
- hyprgraphics-gitAUR
- hyprland-qtutils-gitAUR
- hyprlang-gitAUR
- hyprutils-gitAUR
- libdisplay-info (libdisplay-info-gitAUR)
- libdrm (libdrm-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libinput (libinput-noaccumAUR, libinput-gitAUR, libinput-multiplierAUR, libinput-three-finger-dragAUR)
- libliftoff (libliftoff-gitAUR)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- libxcomposite
- libxcursor
- Show 36 more dependencies...
Required by (71)
- autoricer-bin (requires hyprland) (optional)
- focal-hyprland-git (requires hyprland)
- gbar-git (requires hyprland) (optional)
- greetd-regreet-git (requires wayland-compositor)
- grimblast-git (requires hyprland)
- hdisplays (requires hyprland) (make)
- hdrop-git (requires hyprland)
- hy3 (requires hyprland)
- hy3-git (requires hyprland)
- hycov-git (requires hyprland)
- hypr-trans-git (requires hyprland)
- hypr-wellbeing-bin (requires hyprland)
- hypraway (requires hyprland)
- hyprdim (requires hyprland)
- hyprdwl-git (requires hyprland)
- hyprfreeze-git (requires hyprland)
- hyprgrass-meta (requires hyprland)
- hyprland-activewindow (requires hyprland)
- hyprland-autoname-workspaces-git (requires hyprland)
- hyprland-meta-git
- Show 51 more...
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 40 Next › Last »
<deleted-account> commented on 2024-07-23 18:36 (UTC)
neometra commented on 2024-07-23 18:11 (UTC) (edited on 2024-07-23 18:13 (UTC) by neometra)
Hello, I am not much of a programmer, and I am new to ArchLinux, but I wanted to post this and hope it helps. I had the same issue as @rabaimor. Creating a symlink did not resolve my issue. I used the following command to do so.
sudo ln -s /usr/lib/libhyprutils.so.0.2.0 /usr/lib/libhyprutils.so.0
However, what did work was this command.
cp libhyprutils.so libhyprutils.so.0
For whatever reason the symlink would cause hyprctl to throw odd errors. Copying the file as you see above fixed everything. I do not know what the correct fix for this is but that is the workaround that has worked for me. Hope this helps.
zjeffer commented on 2024-07-21 21:35 (UTC) (edited on 2024-07-21 21:37 (UTC) by zjeffer)
aside from hyprcursor-git which gave me a build error, and I don't feel like trying to fix it when it wont make a difference anyways
I feel like that would make a difference, because if hyprcursor-git can't be installed, then hyprland won't be (re)installed either, because it's a required dependency, right? What's the error hyprcursor-git gives?
Also "ln -s /usr/lib/libhyprutils.so.0.2.0 /usr/lib/libhyprutils.so.0" only makes the error change to: "Hyprland: error while loading shared libraries: libhyprutils.so.1: cannot open shared object file: No such file or directory"
@rabaimor That's really strange. Can you post the output of the following commands?
whereis Hyprland
ldd $(which Hyprland) | grep -i hypr
paru -Ql hyprutils-git | grep -i "/usr/lib/"
<deleted-account> commented on 2024-07-21 21:19 (UTC)
@zjeffer tr leaves "⏎" at the output end but I know what you mean. Reinstalling all the dependencies (which I did already) does not fix the error. (aside from hyprcursor-git which gave me a build error, and I don't feel like trying to fix it when it wont make a difference anyways). Also "ln -s /usr/lib/libhyprutils.so.0.2.0 /usr/lib/libhyprutils.so.0" only makes the error change to: "Hyprland: error while loading shared libraries: libhyprutils.so.1: cannot open shared object file: No such file or directory"
zjeffer commented on 2024-07-21 20:19 (UTC)
@rabaimor Can you try the following command?
paru -S $(pactree -u -d 1 hyprland-git | tr '\n' ' ') --asdeps
(subsitute paru
with yay
if you use that, install pactree if you haven't yet: it's part of the pacman-contrib
package)
<deleted-account> commented on 2024-07-21 19:59 (UTC)
@zjeffer Did not fix it for me... Even after recompiling everything the issue still presists.
zjeffer commented on 2024-07-21 14:27 (UTC)
@rabaimor Reinstalling hyprlang-git
fixed it, see my discussion with vaxry here: https://github.com/hyprwm/hyprutils/pull/9#issuecomment-2241629614
zjeffer commented on 2024-07-21 13:34 (UTC)
@rabaimor I have the same issue but I haven't yet figured out what causes it. It started happening when hyprutils v0.2.0 was released (where the so version was increased from 0 to 1), which was before the latest AUR package update.
A quick workaround is to symlink libhyprutils.so.0.2.0
to libhyprutils.so.0
:
sudo ln -s /usr/lib/libhyprutils.so.0.2.0 /usr/lib/libhyprutils.so.0
<deleted-account> commented on 2024-07-19 14:21 (UTC)
Update completely broke it:
Hyprland: error while loading shared libraries: libhyprutils.so.0: cannot open shared object file: No such file or directory
Downgading hyprland-git and hyprland-git-debug only resulted in a different error cause of different libaries, had to downgrade both hyprutils and hyprland.
zjeffer commented on 2024-07-17 16:50 (UTC) (edited on 2024-07-17 16:52 (UTC) by zjeffer)
Tips & tricks, common issues
using ccache/sccache
Precompiled headers (PCH) was enabled by default, this would most likely invalidate the compiler cache if any of the upstream header files change. To disable PCH, add the meson build option -Db_pch=false
to build()
.
build() {
...
meson setup build \
-D b_pch=false
...
}
Build with specific pull requests
Use pick_mr <pull request number>
at the end of prepare()
to merge pull requests locally. For example, to merge https://github.com/hyprwm/Hyprland/pull/6268, use
prepare() {
...
pick_mr 6268
}
Enable legacy renderer
In the build()
function, add -D legacy_renderer=true
to meson setup
Compilation errors
If you encounter compilation errors, try the following first:
- If errors are raised by generated source files under
protocols/
, such asprotocols/linux-dmabuf-v1.hpp
, then rebuild or installhyprwayland-scanner-git
; - Compile with
makepkg --cleanbuild
.
Symbol not declared
Errors like
<symbol> was not declared in this scope
<symbol> has not been declared
are usually caused by missing headers. Please consider reporting this upstream or creating a pull request if it has not already been done.
Pinned Comments
xiota commented on 2025-04-11 01:10 (UTC) (edited on 2025-04-11 01:11 (UTC) by xiota)
Here's the current depends tree to help people figure out (re)build order. Some duplicates are omitted.
alba4k commented on 2025-04-09 20:40 (UTC)
To report issues, open pull requests, or check out other hyprland-related packages, you can check out https://github.com/alba4k/hyprwm-pkgbuilds