configure: error: Package requirements (libsystemd-daemon) were not met: No package…
- User
configure: error: Package requirements (libsystemd-daemon) were not met:
No package 'libsystemd-daemon' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables libsystemd_CFLAGS and libsystemd_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
- Assistant
The error message indicates that the configure script is unable to find the required package
libsystemd-daemon. The package might not be installed on your system, or it might be installed in a non-standard location.To resolve this issue, you can try the following steps:
-
Install libsystemd-daemon package: Run the following command to install the package if it is available in your distribution's package repository.
For Ubuntu/Debian:
bashsudo apt-get install libsystemd-devFor CentOS/RHEL:
bashsudo yum install systemd-devel
-