package/fluent-bit: fix missing object runtime error
PATCH 1/1 package/fluent-bit: fix missing object runtime error
From: Thomas Devoogdt <[email protected]>
$ fluent-bit fluent-bit: error while loading shared libraries: libminiz.so.3: cannot open shared object file: No such file or directory
Commit 527deef "package/fluent-bit: bump to 3.2.10", dropped the BUILD_SHARED_LIBS=OFF off part, because miniz uses static linking by default now, but runtime execution shows otherwise, so revert to fix.
--- package/fluent-bit/fluent-bit.mk | 5 +++++ 1 file changed, 5 insertions(+)
package/fluent-bit/fluent-bit.mk +5 -0
@@ -68,6 +68,11 @@ else FLUENT_BIT_CONF_OPTS += -DFLB_LUAJIT=No endif +# Force bundled miniz to be linked statically. +# https://github.com/fluent/fluent-bit/issues/6711 +FLUENT_BIT_CONF_OPTS += \ + -DBUILD_SHARED_LIBS=OFF + # Move the config files from /usr/etc/ to /etc/. # https://github.com/fluent/fluent-bit/issues/6619 FLUENT_BIT_CONF_OPTS += \
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 11 lines · Thomas Devoogdt
From: Thomas Devoogdt <[email protected]>
$ fluent-bit fluent-bit: error while loading shared libraries: libminiz.so.3: cannot open shared object file: No such file or directoryCommit 527deef "package/fluent-bit: bump to 3.2.10", dropped the BUILD_SHARED_LIBS=OFF off part, because miniz uses static linking by default now, but runtime execution shows otherwise, so revert to fix.
Signed-off-by Thomas Devoogdt <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 11 lines · Thomas Devoogdt
From: Thomas Devoogdt <[email protected]>
$ fluent-bit fluent-bit: error while loading shared libraries: libminiz.so.3: cannot open shared object file: No such file or directoryCommit 527deef "package/fluent-bit: bump to 3.2.10", dropped the BUILD_SHARED_LIBS=OFF off part, because miniz uses static linking by default now, but runtime execution shows otherwise, so revert to fix.
Signed-off-by Thomas Devoogdt <[email protected]>
Applied to 2025.02.x, thanks.
Regards,
Arnout
Quoted 10 lines
--- package/fluent-bit/fluent-bit.mk | 5 +++++ 1 file changed, 5 insertions(+)package/fluent-bit/fluent-bit.mk +0
-0@@ -68,6 +68,11 @@ else FLUENT_BIT_CONF_OPTS += -DFLB_LUAJIT=No
package/fluent-bit/fluent-bit.mk else · line 78
Quoted 10 lines
package/fluent-bit/fluent-bit.mk +5
-0endif +# Force bundled miniz to be linked statically. +# https://github.com/fluent/fluent-bit/issues/6711 +FLUENT_BIT_CONF_OPTS += \ + -DBUILD_SHARED_LIBS=OFF + # Move the config files from /usr/etc/ to /etc/. # https://github.com/fluent/fluent-bit/issues/6619 FLUENT_BIT_CONF_OPTS += \
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot