Neal Gompa wrote:
Note that dlopen() doesn't fix the problem of the giant
libsystemd in
the first place. It just obfuscates the true dependency graph of
libsystemd.
At least it (hopefully) means liblzma will not be opened if you do not use
an API that needs liblzma. But it makes it even harder to tell whether
liblzma will end up being loaded or not.
Long ago (I think like ~10 years ago), libsystemd was actually
several
separate smaller libraries. Perhaps we could consider asking upstream
to switch back to that model?
+1
Kevin Kofler