Skip to contentSkip to conversation

New: 2020.02-RC1: error while loading shared libraries: libsystemd-shared-244.so

Buildroot bugzilla at busybox.net 1 participant 4 messages Feb 24, 2020 – Mar 1, 2020

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=12576

Bug ID: 12576
Summary: 2020.02-RC1: error while loading shared libraries:
libsystemd-shared-244.so
Product: buildroot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: melanie at trash-mail.com
CC: buildroot at uclibc.org
Target Milestone: ---

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:

Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 12576] 2020.02-RC1: error while loading shared libraries: libsystemd-shared-244.so

https://bugs.busybox.net/show_bug.cgi?id=12576

--- Comment #1 from Thomas Petazzoni <[email protected]> --- Hello Melanie,

Thanks for your bug report. Could you try the below patch, and see if it fixes the issue for you:

package/systemd/systemd.mk +1 -0
index 1150fd390e..20637f3a8a 100644
@@ -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
Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 12576] 2020.02-RC1: error while loading shared libraries: libsystemd-shared-244.so

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=12576

--- Comment #2 from Melanie <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 12576] 2020.02-RC1: error while loading shared libraries: libsystemd-shared-244.so

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=12576

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |yann.morin.1998 at free.fr

--- Comment #3 from Yann E. MORIN <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.