[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [LuaSQL 2.2.0] ls_sqlite3.c: error: expected expression before / token
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 15 Apr 2011 15:43:48 -0300
It turns out that lua -lsqlite3 cannot work because the entry point is:
ls_sqlite3.c:LUASQL_API int luaopen_luasql_sqlite3(lua_State *L)
So, try lua -l luasql.sqlite3. Make sure that the Lua sqlite3.so is inside
a directory named luasql somewhere in the path. Or install luasql properly.
lua -l luasql.sqlite3 worked for me.