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

which lua version is used? #8

Open
amsitlab opened this issue Dec 26, 2021 · 0 comments
Open

which lua version is used? #8

amsitlab opened this issue Dec 26, 2021 · 0 comments

Comments

@amsitlab
Copy link

amsitlab commented Dec 26, 2021

I had try to run numlua using lua 5.2, lua 5.3, lua 5.4, luajit2.1.0, but still error

[ ~/.../carvalho/numlua ]─[ ⑂build-termux* ]
└─ lua5.3
Lua 5.3.5  Copyright (C) 1994-2018 Lua.org, PUC-Rio
> nl = require 'numlua'
error loading module 'numlua' from file '/data/data/com.termux/files/usr/lib/lua/5.3/numlua.so':
        dlopen failed: cannot locate symbol "luaL_optlong" referenced by "/data/data/com.termux/files/usr/lib/lua/5.3/numlua.so"...
stack traceback:
        [C]: in ?
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: in ?
> ^C

┌[ ~/.../carvalho/numlua ]─[ ⑂build-termux* ]
└─ lua5.2
Lua 5.2.4  Copyright (C) 1994-2015 Lua.org, PUC-Rio
> num = require 'numlua'
error loading module 'numlua' from file './numlua.so':
        dlopen failed: cannot locate symbol "lua_rotate" referenced by "/data/data/com.termux/files/home/github.com/carvalho/numlua/numlua.so"...
stack traceback:
        [C]: in ?
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: in ?
> ^C

┌[ ~/.../carvalho/numlua ]─[ ⑂build-termux* ]
└─ lua5.4
Lua 5.4.3  Copyright (C) 1994-2021 Lua.org, PUC-Rio
> num = require 'numlua'
error loading module 'numlua' from file './numlua.so':
        dlopen failed: cannot locate symbol "lua_newuserdata" referenced by "/data/data/com.termux/files/home/github.com/carvalho/numlua/numlua.so"...
stack traceback:
        [C]: in ?
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: in ?
> ^C

┌[ ~/.../carvalho/numlua ]─[ ⑂build-termux* ]
└─ luajit
LuaJIT 2.1.0-beta3 -- Copyright (C) 2005-2021 Mike Pall. https://luajit.org/
JIT: ON fold cse dce fwd dse narrow loop abc sink fuse
> n = require 'numlua'
error loading module 'numlua' from file './numlua.so':
        dlopen failed: cannot locate symbol "lua_type" referenced by "/data/data/com.termux/files/home/github.com/carvalho/numlua/numlua.so"...
stack traceback:
        [C]: at 0x75b2a68054
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: at 0x59d4a389b0
> ^C
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