Comments (8)
not sure what's going on, I'll look into it sometime soon.
from zeromq.node.
Maybe I should add that Im sitting on mac:
Darwin 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386
from zeromq.node.
Just to add that I'm getting exactly the same issue with my Linux build:
$ ldd binding.node
linux-gate.so.1 => (0xb787e000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb777b000)
libm.so.6 => /lib/libm.so.6 (0xb7755000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7738000)
libc.so.6 => /lib/libc.so.6 (0xb75db000)
/lib/ld-linux.so.2 (0xb787f000)
$ node examples/connections.js
node: symbol lookup error: /opt/node/lib/node/zeromq/binding.node: undefined symbol: zmq_init
It was building & running fine before.
BTW, since I have a non /usr/local install, I have the following wscript change:
obj.cxxflags = ["-Wall", "-Werror", "-I/opt/node/include"]
from zeromq.node.
I am getting the exact same error on node 0.4.6 and zmq 2.1.4 - and am on OS/X - I think it has to do with the linker, as otool -L bindings.node gives me:
otool -L binding.node
binding.node:
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.10)
This is on : Darwin 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:16:10 PST 2011; root:xnu-1504.9.37~1/RELEASE_X86_64 x86_64
I've not had it working before, was actually looking to test zmq in node, but will keep a watch on this issue for updates.
from zeromq.node.
I found how to fix it (in
In one of the head commits, wscript had this change:
- obj.lib = ["zmq"]
- obj.uselib = "LIBZMQ"
This breaks the linking.
Adding back
- obj.lib = ["zmq"]
gets a running binding.node addon again.
from zeromq.node.
Checked in a fix that I hope will work for you guys. Sorry for the inconvenience.
from zeromq.node.
This is the exact error I am getting. Is the above still the recommended fix?
from zeromq.node.
Edited: I think I'm using an old version of 0MQ as I used macports to install it; I'll try building from source and update shortly.
I have the same problem using zmq-1.0.3; is this the fix still not checked in? I'm working with OS X Lion 10.7; thanks.
from zeromq.node.
Related Issues (20)
- ZMQ msg len in push-pull socket is zero? HOT 1
- Queue stats - memory usage, queue length etc
- Client-server pattern implementation (ZMQ_CLIENT)
- Expose zmq_z85_encode and zmq_z85_decode HOT 2
- Support for building zeromq with yarn instead of npm HOT 3
- Mark this project as unmaintained in favor of zeromq/zeromq.js HOT 13
- Cannot use ZeroMQ 4.2 sockopt ZMQ_ROUTER_HANDOVER HOT 1
- fatal error: zmq.h: No such file or directory HOT 4
- How to receive messages with multiple frames
- Confused between zmq and zeromq HOT 2
- hyperledger-sawtooth error
- How does Monitor Interval effect REQ/REP PUB/SUB network traffic? HOT 1
- zmq.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 59. This version of Node.js requires NODE_MODULE_VERSION 54. HOT 3
- node 10 install issue HOT 2
- How do we include zeromq so we can bundle the Node application? HOT 1
- router/dealer proxy doesn't forward multipart msgs correctly
- Facing zmq router timeout issue HOT 1
- Dish/Radio Support?
- zmq.socket is not a function HOT 5
- The test fails on PowerPC ppc64le architecture
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zeromq.node.