【发布时间】:2022-11-11 02:47:26
【问题描述】:
尝试添加 Debian 软件包 libsystemd。但是之后我不断收到以下错误,不知道如何解决这个问题。
ERROR: Nothing PROVIDES 'libsystemd' (but example.bb DEPENDS on or otherwise requires it). Close matches:
libteam
systemd
systemd RPROVIDES libsystemd
NOTE: Runtime target 'example' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['example', 'libsystemd']
Missing or unbuildable dependency chain was: [ 'example', 'libsystemd']
fatal error: systemd/sd-daemon.h: No such file or directory | 16 | #include <systemd/sd-daemon.h>
相关帖子:Yocto Build Dependency on Debian Package
例子.bb
DESCRIPTION = "Example Utilities"
LICENSE = "CLOSED"
inherit cmake systemd useradd
require common.inc
S = "${WORKDIR}/git/example-server"
DEPENDS = "simple-web-server boost sqlite3 libsystemd"
【问题讨论】:
-
您是否将
systemd添加到DISTRO_FEATURES?
标签: linux dependencies yocto bitbake