| Summary: | 2020.02-RC1: error while loading shared libraries: libsystemd-shared-244.so | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Melanie <melanie> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot, yann.morin.1998 |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Host: | Target: | ||
| Build: | |||
Hello Melanie,
Thanks for your bug report. Could you try the below patch, and see if it fixes the issue for you:
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 1150fd390e..20637f3a8a 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -570,6 +570,7 @@ HOST_SYSTEMD_DEPENDENCIES = \
# * thus re-tweak rpath after the installation for all binaries that need it
HOST_SYSTEMD_HOST_TOOLS = \
systemd-analyze \
+ systemd-machine-id-setup \
systemd-mount \
systemctl \
udevadm
Hello Thomas. I've tested your patch and can confirm that it fixes the issue. Would be great if this could be implemented into the final 2020.02 release. Melanie, All, Thanks for the report, fixed with: https://git.buildroot.org/buildroot/commit/?id=dabb5181ad2873e87935b778d1f6772ec361fa16 Thanks Thomas for the hint, too. ;-) Regards, Yann E. MORIN. |
My post-build script contains the following line: systemd-machine-id-setup --root=$1 My post-build script runs successful with previous buildroot versions but since 2020.02-RC1 the command fails with the following error message: >>> Executing post-build script systemd-machine-id-setup: error while loading shared libraries: libsystemd-shared-244.so: cannot open shared object file: No such file or directory make[1]: *** [Makefile:760: target-finalize] Error 127 make: *** [Makefile:84: _all] Error 2