Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing mudule in LUA #9

Closed
tinycorelinux opened this issue Oct 21, 2016 · 1 comment
Closed

Missing mudule in LUA #9

tinycorelinux opened this issue Oct 21, 2016 · 1 comment

Comments

@tinycorelinux
Copy link

Running LUA I get this error. With LUAJIT it works fine.

lua: benchmark.lua:3: module 'bit' not found:
no field package.preload['bit']
no file '/usr/local/share/lua/5.2/bit.lua'
no file '/usr/local/share/lua/5.2/bit/init.lua'
no file '/usr/local/lib/lua/5.2/bit.lua'
no file '/usr/local/lib/lua/5.2/bit/init.lua'
no file './bit.lua'
no file '/usr/local/lib/lua/5.2/bit.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './bit.so'
stack traceback:
[C]: in function 'require'
benchmark.lua:3: in main chunk
[C]: in ?

@hg2ecz
Copy link
Owner

hg2ecz commented Oct 21, 2016

Please install package "lua-bitop" (Debian, Ubuntu), because the bit manipulator functions are part of luajit but not included in classic lua interpreter.

@hg2ecz hg2ecz closed this as completed Oct 25, 2016
hg2ecz pushed a commit that referenced this issue Jan 6, 2017
hg2ecz pushed a commit that referenced this issue May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant