Skip to main content
Topic: libsystemd issue (Read 986 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

libsystemd issue

When trying to launch Emacs (possible other programs too) after updating Artix I'm getting:

emacs: error while loading shared libraries: libsystemd.so.0: cannot open shared object file: No such file or directory

Earlier I had Hyprland crashing too with same error, but changing from bin to git package in AUR fixed it. Searching around in the forum I find a bit older posts like https://forum.artixlinux.org/index.php/topic,393.msg3127.html#msg3127 saying installing libsystemd-dummy fixes the issue. Unfortunately no such package exist in neither main repos, Arch repos or AUR.

Any suggestions?

 

Re: libsystemd issue

Reply #1
hyprland - freed from its systemd shackels - is in the Artix world repo since yesterday/today and confirmed to work correctly by a user

emacs in our repo is also build without the requirement for systemd; pls check from which repo it was installed on your box or reinstall from Artix

artist

Re: libsystemd issue

Reply #2
hyprland - freed from its systemd shackels - is in the Artix world repo since yesterday/today and confirmed to work correctly by a user

emacs in our repo is also build without the requirement for systemd; pls check from which repo it was installed on your box or reinstall from Artix
Thanks for a quick reply, will try out hyprland from repos.
Regarding emacs I was using emacs-gcc-wayland-devel-bin from AUR in order to get transparency on Wayland working. Seems I need to live without transparency in emacs until support for Wayland is available in standard emacs package.

But good to know, makes sense this can come up as an issue with AUR vs Artix repo packages.

Re: libsystemd issue

Reply #3
When I tried to build the gala package, I also ran into libsystemd.

Code: [Select]
makepkg -si                                                                                              /tmp/gala
==> Making package: gala 7.1.1-1 (Mon Jul 10 07:56:34 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating gala git repo...
==> Validating source files with b2sums...
    gala ... Skipped
==> Extracting sources...
  -> Creating working copy of gala git repo...
Reset branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true gala build
The Meson build system
Version: 1.1.1
Source dir: /tmp/gala/src/gala
Build dir: /tmp/gala/src/build
Build type: native build
Project name: gala
Project version: 7.1.1
C compiler for the host machine: cc (gcc 13.1.1 "cc (GCC) 13.1.1 20230429")
C linker for the host machine: cc ld.bfd 2.40.0
Vala compiler for the host machine: valac (valac 0.56.9)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring config.h using configuration
Library config found: YES
Found pkg-config: /bin/pkg-config (1.8.1)
Run-time dependency libcanberra found: YES 0.30
Run-time dependency glib-2.0 found: YES 2.76.4
Run-time dependency gobject-2.0 found: YES 2.76.4
Run-time dependency gio-2.0 found: YES 2.76.4
Run-time dependency gio-unix-2.0 found: YES 2.76.4
Run-time dependency gmodule-2.0 found: YES 2.76.4
Run-time dependency gtk+-3.0 found: YES 3.24.38
Run-time dependency gdk-x11-3.0 found: YES 3.24.38
Run-time dependency gee-0.8 found: YES 0.20.6
Run-time dependency granite found: YES 6.2.0
Run-time dependency gnome-desktop-3.0 found: YES 44.0
Run-time dependency gnome-settings-daemon found: YES 44.1
Library m found: YES
Library posix found: YES
Run-time dependency gexiv2 found: YES 0.14.1
Found CMake: /bin/cmake (3.26.4)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency libsystemd found: NO (tried pkgconfig and cmake)

gala/meson.build:101:18: ERROR: Dependency "libsystemd" not found, tried pkgconfig and cmake

A full log can be found at /tmp/gala/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...

At the same time, cmake is installed from native repositories

Code: [Select]
pacman -Qi cmake                                                                              /tmp/gala
Name            : cmake
Version         : 3.26.4-1
Description     : A cross-platform open-source make system
Architecture    : x86_64
URL             : https://www.cmake.org/
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : curl  libarchive  hicolor-icon-theme  jsoncpp  libjsoncpp.so=25-64  libuv  rhash
Optional Deps   : qt6-base: cmake-gui
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 66.71 MiB
Packager        : Artix Build Bot <[email protected]>
Build Date      : Fri May 19 16:19:23 2023
Install Date    : Sun Jul 9 14:18:05 2023
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature



Re: libsystemd issue

Reply #6
I am also having an issue with libsystemd.so.0 for the libratbag package:

Code: [Select]
ratbagd: error while loading shared libraries: libsystemd.so.0: cannot open shared object file: No such file or directory

I am fully up to date with all packages, libratbag from the extra repo is v0.17-1

Re: libsystemd issue

Reply #7
@onlypj Sorry but the devs have clarified they do not support archlinux repositories.
I am interested in ratbag too for some gaming mice i need to "tame" so when I will (slowly and clumsily :) ) begin maintaining I will make sure to add ratbag among the first things.