community/lua-bitop impossible to import "bit" inside lua script
I am trying to use lua-bitop in my scripts without any success, the folling one-liner script is not working:
luabit = require("bit")
, I've got the following error:
lua5.2: error loading module 'bit' from file '/usr/lib/lua/5.2/bit.so':
Error relocating /usr/lib/lua/5.2/bit.so: lua_tonumber: symbol not found
stack traceback:
[C]: in ?
[C]: in function 'require'
test_luabitop:1: in main chunk
[C]: in ?
(I have the same error for lua5.4...)
Am I doing things the wrong way?
I installed lua5.2, lua5.2-dev (which should not be required I guess), and lua5.2-bitop.
I know that there are some C calls in this lib, could it be linked to musl? Am I missing some dependencies?