SQLite Forum

Nit newly exposed in "How to Compile"
Login
At [Compiling The Command-Line Interface](https://sqlite.org/howtocompile.html#cli), the example given as a "command to compile a full-featured shell" does not quite work because there is a call to the log() function within the fts5Bm25GetData() function which creates an unsatisfied reference at link time. I propose this change:<code>
  gcc -Os -I. -DSQLITE_THREADSAFE=0 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 \\
 -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_EXPLAIN_COMMENTS \\
 -DHAVE_USLEEP -DSQLITE_ENABLE_MATH_FUNCTIONS=1 -DHAVE_READLINE=1 \\
 shell.c sqlite3.c -ldl -lreadline -lncurses -lm -o sqlite3
</code> which builds a CLI shell closer to "full-featured" and cures the missing math library problem.