On 06/11/2018 05:35 AM, Lonnie Abelbeck wrote:
Hi,

Our project did a SQLite version bump from 3.23.1 to 3.24.0 (identical build 
options), the /usr/lib/libsqlite3.so.0.8.6 lib increased by 20% !


For version 3.24.0, the fts5 and json1 extensions are enabled by default in the amalgamation/autoconf package:

  https://www.sqlite.org/src/info/03edecaf9dcfc927

It's fts5 that has the libm dependency. To build without these two extensions, use:

  configure --enable-json1=no --enable-fts5=no

Dan.




3.24.0
-rwxr-xr-x    1 root     root        814112 Jun 10 15:31 
/usr/lib/libsqlite3.so.0.8.6  (uses libm)

3.23.1
-rwxr-xr-x    1 root     root        674800 Jun  6 20:35 
/usr/lib/libsqlite3.so.0.8.6  (no libm reference)

Also note the math library -lm was dynamically linked in 3.24.0 but not in 
3.23.1 (via ldd).

The only compile time option is -DSQLITE_ENABLE_COLUMN_METADATA

Ref:
https://github.com/astlinux-project/astlinux/blob/master/package/sqlite/sqlite.mk

I have looked as Richard's thread "[sqlite] Size of the SQLite library Richard 
Hipp", but this seems much more than that.

Has the default set of compile time options changed in 3.24.0 ?

Any insight is appreciated.

Lonnie

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to