ERROR: Dependency "systemd" not found, tried pkgconfig
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
I have the same Problem. Also Ubuntu 24.10
I had to install systemd-dev:
sudo apt install systemd-dev
I had to install systemd-dev:
sudo apt install systemd-dev
In my case systemd-dev was already installed
Have you tried installing gamemode through apt instead of using the install script?
systemd-dev needs to be added to the list of dependencies to install in README.md
For reference, on Fedora 41 I had to install the following:
sudo dnf install systemd-libs systemd-devel
Renamed this issue with the more descriptive title of #502.
For me worked: https://packages.debian.org/bookworm/libsystemd-dev