SQLite Forum

Nit newly exposed in "How to Compile"
Login
To the extent that compile-and-link example is documentation, your "-lm" addition is part of what I have suggested.  The rest is to add a preprocessor definition to also compile the recently added math functions (-DSQLITE_ENABLE_MATH_FUNCTIONS=1), better reflecting the advertised "command to compile a full-featured shell".