The luasql.sqlite3 module has been compiled into my C program successfully, statically linked. But, it seems the module has not been registered yet. The call of require 'luasql.sqlite3' always fails in Lua scripts.
Some other modules call luaL_register to register themselves. But luaL_register is not called in luaopen_luasql_sqlite3. How do I register luasql.sqlite3 in this case?
I use Lua-5.1.5.