Re: AppStream fails to configure if systemd is not explicitly set to false.

"Zeckma" ([email protected] via blfs-dev Mailing List) <[email protected]> Tue, 16 Dec 2025 10:57:18 -0700
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
On 12/16/25 04:30, "Antonis" ([email protected] via
blfs-dev Mailing List) wrote:
 > AppSteam fails to configure due to systemd automatically being set to
 > true.
 >
 > "Run-time dependency libsystemd found: NO (tried pkgconfig and cmake)
 >
 > ../meson.build:182:21: ERROR: Dependency "libsystemd" not found, tried
 > pkgconfig and cmake"
 >
 > Fixed by appending -D systemd=false

This is caused by the libsystemd.pc file not being found. It is provided
by elogind in this command block:

ninja install                                           &&
ln -sfv  libelogind.pc /usr/lib/pkgconfig/libsystemd.pc &&
ln -sfvn elogind /usr/include/systemd

So if the libsystemd.pc symlink pointing to libelogind.pc doesn't exist,
AppStream will bail.

So, ensure you installed elogind and made the symlink as shown above.

- Zeckma

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page