small medium large xlarge

13 Jan 2014, 11:12
Alex Nekrasov (1 post)

Hi all,

recently i’ve installed a cool module zmq. Then i tried to implement a basic example, but it didn’t work:

var zmq = require ('zmq')
, Sock = zmq.socket ('push');


setInterval (function () {
    console.log ('sending work');
    sock.send ("Hello");
}, 500);

When i try to send a message, i get an error:

node: symbol lookup error: ... / node_modules / zmq / build / Release / zmq.node: undefined symbol: zmq_sendmsg

Could anybody clarify what the problem is?

Zmq 2.5.1 version

node-v v0.10.24

npm-v 1.3.21

Libzmq 4.0.3 version

Thanks in advance.

26 May 2014, 11:36
Jim R. Wilson (102 posts)

Others who had problems with ZMQ have suggested using the exact version that the book recommends. Hope this helps!

You must be logged in to comment