maybe now lj2 not support lua_dump.
finally. I look lj_api.c, found this.
LUA_API int lua_dump(lua_State *L, lua_Writer writer, void *data)
{
api_checknelems(L, 1);
UNUSED(L); UNUSED(writer); UNUSED(data);
return 1; /* Error, not supported. */
}
---------------------------------------------------------------------------
So, before lj2 support lua_dump, I will use lua 5.2