Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

undefined symbol: lua_tointeger #1

Open
beichao1314 opened this issue Dec 28, 2016 · 1 comment
Open

undefined symbol: lua_tointeger #1

beichao1314 opened this issue Dec 28, 2016 · 1 comment

Comments

@beichao1314
Copy link

Hi there! I'm using lua 5.2 because of out of the memory in lua 5.1 when preprocessing. But after installing zmq, the error is undefined symbol: lua_tointeger and zmq is installed in lua 5.1. How can I solve it? Here is error:
th> require("zmq")
/home/zyyt/torch/install/share/lua/5.2/trepl/init.lua:389: error loading module 'zmq' from file '/usr/local/lib/lua/5.1/zmq.so':
/usr/local/lib/lua/5.1/zmq.so: undefined symbol: lua_tointeger
stack traceback:
/home/zyyt/torch/install/share/lua/5.2/trepl/init.lua:506: in function </home/zyyt/torch/install/share/lua/5.2/trepl/init.lua:499>
[C]: in function 'error'
/home/zyyt/torch/install/share/lua/5.2/trepl/init.lua:389: in function 'require'
[string "_RESULT={require("zmq")}"]:1: in main chunk
[C]: in function 'xpcall'
/home/zyyt/torch/install/share/lua/5.2/trepl/init.lua:661: in function 'repl'
...zyyt/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk
[C]: in ?

@srush
Copy link
Contributor

srush commented Dec 28, 2016

(First caveat, this code is nowhere near stable yet. It is mainly an experiment)

More importantly though, which zmq bindings did you install? I am using this one https://github.com/Neopallium/lua-zmq

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants