Pádraig Brady wrote: > > libselinux.so is less than 200 KB large. Is it really worth the effort? > > What is the size of "small images" that you are targeting, in MB? > > Well it has a pcre2 transitive dependency.
Oh, indeed. That makes 200 KB + 700 KB = 900 KB. > I am leaning towards libselinux being dlopened for coreutils at least, > as most tools are functional with default options without it. OK. > For reference, handling of soname version was done in coreutils with: > > https://gitweb.git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=3bbdb3938 > https://gitweb.git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=afc41505e Oh, nice! This leaves the determination of the major version number to the linker, compared to steps that I had proposed. That's definitely the better idiom to use. Bruno
