@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"
Search Criteria
Package Details: hyprland-git 0.45.0.r18.3fb47372-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 |
Submitter: | hertog |
Maintainer: | Vaxry (zjeffer, alba4k) |
Last Packager: | alba4k |
Votes: | 97 |
Popularity: | 8.47 |
First Submitted: | 2022-04-12 20:26 (UTC) |
Last Updated: | 2024-11-21 17:56 (UTC) |
Dependencies (54)
- 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, glibc-eac-binAUR, glibc-eac-rocoAUR)
- glslang (glslang-gitAUR)
- hyprcursor-gitAUR
- hyprlang-gitAUR
- hyprutils-gitAUR
- libdisplay-info (libdisplay-info-gitAUR)
- libdrm (libdrm-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libinput (libinput-noaccumAUR, libinput-multiplierAUR, libinput-three-finger-dragAUR)
- libliftoff (libliftoff-gitAUR)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- libxcomposite
- libxcursor
- libxfixes
- libxkbcommon (libxkbcommon-gitAUR)
- libxrender
- mesa (mesa-minimal-gitAUR, mesa-gitAUR, mesa-wsl2-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, mesa-amber)
- opengl-driver (nvidia-410xx-utilsAUR, nvidia-440xx-utilsAUR, nvidia-430xx-utilsAUR, nvidia-vulkan-utilsAUR, nvidia-390xx-utilsAUR, mesa-minimal-gitAUR, mesa-gitAUR, nvidia-utils-teslaAUR, mesa-wsl2-gitAUR, nvidia-535xx-utilsAUR, nvidia-525xx-utilsAUR, nvidia-510xx-utilsAUR, nvidia-utils-betaAUR, nvidia-470xx-utilsAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, nvidia-550xx-utilsAUR, mesa, mesa-amber, nvidia-utils)
- pango (pango-gitAUR)
- pixman (pixman-gitAUR)
- polkit (polkit-gitAUR, polkit-consolekitAUR)
- seatd (seatd-gitAUR)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-selinuxAUR, sysupdated-systemd-libs-gitAUR, systemd-libs-gitAUR, systemd-libs-fmlAUR)
- tomlplusplus
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- wayland-protocols (wayland-protocols-gitAUR)
- xcb-proto (xcb-proto-gitAUR)
- xcb-util
- xcb-util-errors
- xcb-util-image
- xcb-util-keysyms
- xcb-util-renderutil
- xcb-util-wm
- xorg-xwayland (xorg-xwayland-gitAUR, xorg-xwayland-hidpi-xpropAUR, xorg-xwayland-bug865-issue1578AUR)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- hyprland-protocols-gitAUR (make)
- hyprwayland-scanner-gitAUR (make)
- jq (jq-gitAUR) (make)
- make (make-gitAUR) (make)
- meson (meson-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- patch (patch-gitAUR) (make)
- pkgconf (pkgconf-gitAUR) (make)
- xorgproto (xorgproto-gitAUR) (make)
- cmake (cmake-gitAUR) (optional) – to build and install plugins using hyprpm
- cpio (cpio-gitAUR) (optional) – to build and install plugins using hyprpm
- meson (meson-gitAUR) (optional) – to build and install plugins using hyprpm
- uwsmAUR (optional) – the recommended way to start Hyprland
Required by (59)
- focal-hyprland-git (requires hyprland)
- gbar-git (requires hyprland) (optional)
- grimblast-git (requires hyprland)
- hdisplays (requires hyprland) (make)
- hy3 (requires hyprland)
- hy3-git (requires hyprland)
- hycov-git (requires hyprland)
- hypr-trans-git (requires hyprland)
- hyprdim (requires hyprland)
- hyprdwl-git (requires hyprland)
- hyprforest-installer-bin (requires hyprland) (optional)
- hyprfreeze-git (requires hyprland)
- hyprgui (requires hyprland) (optional)
- hyprgui-bin (requires hyprland) (optional)
- hyprland-activewindow (requires hyprland)
- hyprland-autoname-workspaces-git (requires hyprland)
- hyprland-plugin-borders-plus-plus (requires hyprland)
- hyprland-plugin-borders-plus-plus (requires hyprland) (make)
- hyprland-plugin-borders-plus-plus-git (make)
- hyprland-plugin-csgo-vulkan-fix (requires hyprland)
- hyprland-plugin-csgo-vulkan-fix (requires hyprland) (make)
- hyprland-plugin-csgo-vulkan-fix-git (make)
- hyprland-plugin-hyprbars (requires hyprland)
- hyprland-plugin-hyprbars (requires hyprland) (make)
- hyprland-plugin-hyprbars-git (make)
- hyprland-plugin-hyprexpo (requires hyprland)
- hyprland-plugin-hyprexpo (requires hyprland) (make)
- hyprland-plugin-hyprscroller-git (requires hyprland)
- hyprland-plugin-hyprtrails (requires hyprland)
- hyprland-plugin-hyprtrails (requires hyprland) (make)
- hyprland-plugin-hyprtrails-git (make)
- hyprland-plugin-hyprwinwrap (requires hyprland) (make)
- hyprland-plugin-hyprwinwrap (requires hyprland)
- hyprland-plugin-hyprwinwrap-git (make)
- hyprland-scratchpad-git (requires hyprland)
- hyprland-target (requires hyprland)
- hyprland-workspaces (requires hyprland)
- hyprlux (requires hyprland)
- hyproled-git (requires hyprland)
- hyprpanel (requires hyprland)
- hyprpanel-bin (requires hyprland)
- hyprpaper-gen-git (requires hyprland) (optional)
- hyprscratch (requires hyprland)
- hyprshade (requires hyprland)
- hyprshade-git (requires hyprland)
- hyprshade-rewrite-git (requires hyprland)
- hyprsome-git (requires hyprland)
- hyprsunset (requires hyprland)
- hyprswitch (requires hyprland)
- lxqt-wayland-session-git (requires hyprland) (optional)
- mist-de (requires hyprland)
- ml4w-hyprland (requires hyprland)
- ml4w-hyprland-git (requires hyprland)
- pyprland (requires hyprland)
- signal-desktop-fix-sway (requires hyprland) (optional)
- wallpickr-git (requires hyprland)
- wlr-layout-ui (requires hyprland) (optional)
- wlr-layout-ui-git (requires hyprland) (optional)
- xdg-desktop-portal-hyprland-git (requires hyprland) (optional)
Sources (2)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 32 Next › Last »
rabaimor commented on 2024-07-21 21:19 (UTC)
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)
rabaimor 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
rabaimor 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.
zjeffer commented on 2024-07-17 16:45 (UTC) (edited on 2024-07-17 17:54 (UTC) by zjeffer)
@alekgr Should now be fixed. I updated the PKGBUILD to depend on the -git hypr packages instead of the releases.
EDIT: nevermind, I see what the problem is now. See disucssion here: https://github.com/hyprwm/hyprutils/pull/9. Recompiling should fix it.
alekgr commented on 2024-07-16 23:41 (UTC)
workaround by sym linking libhyprutils.so.0 to libhyprutils.0.2.0
alekgr commented on 2024-07-16 22:21 (UTC)
Anybody having issues starting Hyprland with the latest 2 commits Looks like hyprutils 2.0 broke it for me
Getting this on error logs. I can't see libhyprutils.so.0
Hyprland: error while loading shared libraries: libhyprutils.so.0: cannot open shared object file: No such file or directory
lrwxrwxrwx 1 root root 17 Jul 15 20:19 libhyprutils.so -> libhyprutils.so.1 -rwxr-xr-x 1 root root 75824 Jul 15 20:19 libhyprutils.so.0.2.0 lrwxrwxrwx 1 root root 21 Jul 15 20:19 libhyprutils.so.1 -> libhyprutils.so.0.2.0
Pinned Comments
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
tobuild()
.Build with specific pull requests
Use
pick_mr <pull request number>
at the end ofprepare()
to merge pull requests locally. For example, to merge https://github.com/hyprwm/Hyprland/pull/6268, useEnable legacy renderer
In the
build()
function, add-D legacy_renderer=true
to meson setupCompilation errors
If you encounter compilation errors, try the following first:
protocols/
, such asprotocols/linux-dmabuf-v1.hpp
, then rebuild or installhyprwayland-scanner-git
;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.