Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Dependency "systemd" not found, tried pkgconfig #502

Open
NonEssentialCelestial opened this issue Oct 30, 2024 · 7 comments
Open

Comments

@NonEssentialCelestial
Copy link

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

@Joduus
Copy link

Joduus commented Nov 4, 2024

I have the same Problem. Also Ubuntu 24.10

@gmonox
Copy link

gmonox commented Nov 16, 2024

I had to install systemd-dev:

sudo apt install systemd-dev

@NonEssentialCelestial
Copy link
Author

I had to install systemd-dev:

sudo apt install systemd-dev

In my case systemd-dev was already installed

@gmonox
Copy link

gmonox commented Nov 17, 2024

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

@wilkesreid
Copy link

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

@afayaz
Copy link

afayaz commented Jan 26, 2025

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

sudo dnf install systemd-libs systemd-devel

@afayaz-feral afayaz-feral changed the title Error while building gamemode ERROR: Dependency "systemd" not found, tried pkgconfig Jan 27, 2025
@afayaz-feral afayaz-feral marked this as a duplicate of #503 Jan 27, 2025
@afayaz-feral
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants