It looks like configure been updated, but not the documentation. Try
./configure --enable-dynamic-extensions
Link is the configure source code. Digging further, it seems that dynamic extensions are enabled by default. From README :
The generic installation instructions for autoconf/automake are found in the INSTALL file. The following SQLite specific boolean options are supported: --enable-readline use readline in shell tool [default=yes] --enable-threadsafe build a thread-safe library [default=yes] --enable-dynamic-extensions support loadable extensions [default=yes]
So, I think load present. This is the second part of the invalid argument error that the problem is.
It looks like you are using Linux instructions. This will not work. Typically, a Mac does not have .so files that your compilation team generates.
The method for compiling and loading the dynamic Mac library loaded as an extension is at this location . The compilation command will look something like this:
gcc -bundle -fPIC -I/path-to-sqlite/sqlite3 -o filename.sqlext filename.c
Note the -bundle and -fPIC , which are important for dynamic loading, but which you were missing. The resulting file name will be filename.sqlext , so use it in your path.
source share