I'm getting an error in Lua saying
NLua.Exceptions.LuaScriptException: error loading module 'socket.core' from file '.\socket\core.dll': dynamic libraries not enabled; check your Lua installation
the line throwing this error is the 1st line of code in my .lua
local socket = require("socket")
Edit: sorry, didn't read it correctly; this patch is for Linux, not Windows...
Unfortunately Lua does not compile a dynamic library (.so file) by default. I've created two patch-files which provide the necessary changes so the Makefile will create a .so file for you:
I really hope that the Lua-developers will include the compiling of dynamic libraries by default in the code....