Since some time (don't know exactly when) any call of 'luarocks', even a
call without parameters, ends with a segmentation fault. Everything goes
well until that point, however. Neither re-compiling luarocks from the
sources nor 'luarocks install luarocks` changes this behaviour.
I'm on Linux, distribution is Crux. This is what 'strace luarocks`
Am 26.02.2016 um 12:00 schrieb Bernd Eggink:
> Since some time (don't know exactly when) any call of 'luarocks', even a
> call without parameters, ends with a segmentation fault.
I think I found the culprit. Some time ago I had followed the advice
luarocks prints when installing a rock:
"Warning: falling back to curl - install luasec to get native HTTPS
and installed luasec. This module causes an "undefined symbol:
luaL_checkint" error when luarocks requires "ssl.https" (in fs/lua.lua,
line 559), which indicates that it isn't suited for Lua 5.3 (although
the home page says "lua >= 5.1"). After removing luasec the segfault was
gone. Perhaps the above-mentioned warning should be modified if luarocks
is used under 5.3
Re: Strange behaviour of luarocks: issue with luasec
Am 27.02.2016 um 18:52 schrieb Ignacio Burgueño:
> It is worth noting that the latest LuaSec release (0.6a or something)
> does support Lua 5.3. If you feel like trying, give this last version a go.
The latest version is scm-1. I was able to install it by downloading the
rockspec first (a direct install didn't work). And yes, it seems to work
under 5.3, and luarocks no longer spits out the segfault message.