Bug#915566: libsystemd-dev: static library not provided

Simon McVittie smcv at debian.org
Tue Dec 4 21:18:07 GMT 2018


Package: libsystemd-dev
Version: 239-14
Severity: wishlist

libsystemd-dev doesn't provide a static library. Is this deliberate?
Support for a static libsystemd and libudev seems to have been added to
the upstream Meson build system in v239.

I discovered this while expanding debian/tests/build in dbus to
exercise static linking, which didn't work. The test could in principle
be made to use a static libdbus and a dynamic libsystemd, but that's
rather more complicated than the semi-obvious use of pkg-config,

    gcc -static -o static connect.c $(pkg-config --cflags --libs --static dbus-1)

which is what I was trying to test.

If you don't consider a shared libsystemd to be useful, please close this
bug or mark it as wontfix. (However, if lower-level libraries are
unilaterally built as shared-only, this significantly reduces the usefulness
of building static higher-level libraries.)

    smcv



More information about the Pkg-systemd-maintainers mailing list