Skip to content


Subversion checkout URL

You can clone with
Download ZIP


[Solved] Failed attempt to call field 'ZMQ_Poller #13

hugows opened this Issue · 1 comment

2 participants


Hi guys,

I can run most examples from the zguide successfully. But an example that uses Poller fails with this:

[machs Lua:master]$ lua rrbroker.lua
lua: /usr/local/lib/luarocks/share/lua/5.1/zmq/poller.lua:97: attempt to call field 'ZMQ_Poller' (a nil value)
stack traceback:
/usr/local/lib/luarocks/share/lua/5.1/zmq/poller.lua:97: in function
(tail call): ?
rrbroker.lua:18: in main chunk
[C]: ?

I have zeromq 2.1.7 installed, and had just installed luarocks using "".

Edit, Solved: I probably had multiple versions of in the path]


Please make sure you un-install all other version of lua-zmq. You may have to manually remove the "" Lua module from Lua's LUA_CPATH search path.

One way to see which "" file is being loaded is with strace:
strace -e trace=open lua rrbroker.lua 2>&1 | grep

@Neopallium Neopallium closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.