-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Loading native C modules is currently broken on windows as:
- The lua library is not present at a location where it can be seen by
lua
at runtime lua.exe
is linked statically (not againstluaxx.dll
) causing "multiple lua VMs" in some occasions (e.g. when trying to load luasocket on Lua 5.2)
Example log when trying to load luasocket:
D:/a/luasocket/luasocket/.lua/bin\lua.exe: error loading module 'socket.core' from file 'C:\Users\runneradmin\AppData\Roaming/luarocks/lib/lua/5.2/socket\core.dll':
The specified module could not be found.
stack traceback:
[C]: in ?
[C]: in function 'require'
...radmin\AppData\Roaming/luarocks/share/lua/5.2/socket.lua:12: in main chunk
[C]: in function 'require'
mimetest.lua:1: in main chunk
[C]: in ?
D:/a/luasocket/luasocket/.lua/bin\lua.exe: error loading module 'socket.core' from file 'C:\Users\runneradmin\AppData\Roaming/luarocks/lib/lua/5.2/socket\core.dll':
The specified module could not be found.
Metadata
Metadata
Assignees
Labels
No labels