Control: tags -1 +pending Hi,
On Tue, May 3, 2022 at 1:15 PM Helmut Grohne <hel...@subdivi.de> wrote: > I was investigating why sqlite3 was so "big" and noticed that it links > libsqlite3 statically. The most common reason for doing so is usage of > unexported symbols. Evidently that's not the case here. So why would it > not link dynamically? I think upstream has several reasons for linking static. The library has some features that can be turned in and the sqlite3 binary expects those features then. New versions add bug fixes and maybe behaviour changes. Then the library might be installed by third party software under /opt or /usr/local and the sqlite3 binary might find those instead of the one in /usr/lib. Of course, Debian packaging prevents these with strict binary dependency on the library. > Given that libsqlite3-0 is pulled by very many packages, and that > /usr/share/doc can be removed in size-constrained settings, the > reduction achieved by dynamic linking seems reasonable to me. Do you > agree? Well, it's the sqlite3 binary that gets smaller in size, but that's also pulled in by a number of packages. Going to apply your patch soon. Thanks, Laszlo/GCS