* [ptxdist] [PATCH] systemd: fix zstd deps
@ 2020-08-12 10:14 Marco Felsch
2020-08-12 10:31 ` Marco Felsch
0 siblings, 1 reply; 3+ messages in thread
From: Marco Felsch @ 2020-08-12 10:14 UTC (permalink / raw)
To: ptxdist
Our zstd package is a lot more fine granular only selecting the the zstd
package does nothing. Instead we need to tell ptxdist that the zstdlib
must be installed too else systemd fails with:
'error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory'
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
rules/systemd.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/rules/systemd.in b/rules/systemd.in
index bd848b372..1206a30de 100644
--- a/rules/systemd.in
+++ b/rules/systemd.in
@@ -22,6 +22,7 @@ menuconfig SYSTEMD
select XZ if SYSTEMD_XZ
select LZ4 if SYSTEMD_LZ4
select ZSTD if SYSTEMD_ZSTD
+ select ZSTD_LIBZSTD if SYSTEMD_ZSTD
select LIBMICROHTTPD if SYSTEMD_MICROHTTPD
select LIBSECCOMP if SYSTEMD_SECCOMP
select LIBSELINUX if GLOBAL_SELINUX
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] [PATCH] systemd: fix zstd deps
2020-08-12 10:14 [ptxdist] [PATCH] systemd: fix zstd deps Marco Felsch
@ 2020-08-12 10:31 ` Marco Felsch
2020-08-12 13:48 ` Michael Olbrich
0 siblings, 1 reply; 3+ messages in thread
From: Marco Felsch @ 2020-08-12 10:31 UTC (permalink / raw)
To: ptxdist
On 20-08-12 12:14, Marco Felsch wrote:
> Our zstd package is a lot more fine granular only selecting the the zstd
> package does nothing. Instead we need to tell ptxdist that the zstdlib
> must be installed too else systemd fails with:
> 'error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory'
I don't know if we should install the zstdlib per default if the zstd
package was selected to avoid this failures in further packages.
Regards,
Marco
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] [PATCH] systemd: fix zstd deps
2020-08-12 10:31 ` Marco Felsch
@ 2020-08-12 13:48 ` Michael Olbrich
0 siblings, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2020-08-12 13:48 UTC (permalink / raw)
To: ptxdist
On Wed, Aug 12, 2020 at 12:31:53PM +0200, Marco Felsch wrote:
> On 20-08-12 12:14, Marco Felsch wrote:
> > Our zstd package is a lot more fine granular only selecting the the zstd
> > package does nothing. Instead we need to tell ptxdist that the zstdlib
> > must be installed too else systemd fails with:
> > 'error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory'
>
> I don't know if we should install the zstdlib per default if the zstd
> package was selected to avoid this failures in further packages.
Remove the option for the lib and set -DZSTD_PROGRAMS_LINK_SHARED=ON in the
CMake options.
Michael
> Regards,
> Marco
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-08-12 13:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12 10:14 [ptxdist] [PATCH] systemd: fix zstd deps Marco Felsch
2020-08-12 10:31 ` Marco Felsch
2020-08-12 13:48 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox