lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

gary ng wrote:
> I can build luajit by just include all the C files and
> the result is a static linked executable which seems
> to run fine.
> 
> I have also build the luasocket dll using a static lua
> library(not from luajit though but standard lua). 

Don't link the Lua libraries twice into an executable. Please read the
instructions given in the LuaJIT docs (jitdoc/luajit_install.html). Link
LuaSocket against the resulting lua51.dll and everything should work.

Bye,
     Mike