gamemode icon indicating copy to clipboard operation
gamemode copied to clipboard

ERROR: Dependency "systemd" not found, tried pkgconfig

Open NonEssentialCelestial opened this issue 1 year ago • 8 comments

I'am getting systemd dependency error when i am at the ' ./bootstrap.sh ' step. I double checked every dependency i shouldnt have missing dependency especially not systemd

The exact error i am getting:

"Message: Asking pkg-config for systemd's 'sysusersdir' directory Found CMake: /usr/bin/cmake (3.30.3) Run-time dependency systemd found: NO (tried pkgconfig and cmake)

meson.build:124:34: ERROR: Dependency "systemd" not found, tried pkgconfig and cmake " Ubuntu 24.10

meson-log.txt

NonEssentialCelestial avatar Oct 30 '24 00:10 NonEssentialCelestial

I have the same Problem. Also Ubuntu 24.10

Joduus avatar Nov 04 '24 11:11 Joduus

I had to install systemd-dev:

sudo apt install systemd-dev

gmonox avatar Nov 16 '24 23:11 gmonox

I had to install systemd-dev:

sudo apt install systemd-dev

In my case systemd-dev was already installed

NonEssentialCelestial avatar Nov 17 '24 12:11 NonEssentialCelestial

Have you tried installing gamemode through apt instead of using the install script?

gmonox avatar Nov 17 '24 15:11 gmonox

systemd-dev needs to be added to the list of dependencies to install in README.md

wilkesreid avatar Jan 02 '25 21:01 wilkesreid

For reference, on Fedora 41 I had to install the following:

sudo dnf install systemd-libs systemd-devel

afayaz avatar Jan 26 '25 18:01 afayaz

Renamed this issue with the more descriptive title of #502.

afayaz-feral avatar Jan 27 '25 08:01 afayaz-feral

For me worked: https://packages.debian.org/bookworm/libsystemd-dev

maksi65432 avatar Jun 02 '25 17:06 maksi65432