Closed 16n closed 10 years ago
Do you have libprotobuf installed?
I'm having the same issue. I was attempting to get going with RethinkDB following these instructions. Basically, I did brew install rethinkdb
and it had libprotobuf as a dependency. I see libprotobuf installed here: /usr/local/Cellar/protobuf/2.5.0/lib
and linked here/usr/local/lib
(which is in my PATH).
The libs I see linked in there are:
Also, the protoc
command seems to be working.
Does that look about right?
For your reference, here are the relevant Homebrew formulas that did the install -- maybe they missed something? This is an install to Mavericks, so the protobuf dep was invoked.
@mshick Unfortunately I don't have a Mac, and have no idea about how Homebrew works (from what's inside ruby scripts it looks like it compiles from source, which is fine). Maybe it's a problem with 32/64-bit libraries conflict or dynamically linked vs. statically linked, but I'm not sure. I'll ask friend with Mac to help.
I had a co-worker, also running Mavericks, test this module and he had precisely the same issue. It was a minimal test case -- just this module and the sample code in the docs.
Likewise, I was able to get Rethink working by removing this module.
It would seem something unique to this module and the Mavericks environment is the culprit...
As far as I can tell from googling, that's not an issue with my module, but rather npm/node-gyp, e.g. https://github.com/peterbraden/node-opencv/issues/87
Ah, great. Thanks for investigating. I'll follow the progress over there.
I have the same issue with the latest version (1.0.9). protoc
is properly installed and works (2.5.0)
I'm still on OSX 10.8
@mschilde check pull request above for additional info.
I suppose this is resolved by now as I'm working on Mac since Feb and it's compiling properly.
I'm not able to get node-protobuf to work. I always get the following error:
dyld: lazy symbol binding failed: Symbol not found: __ZNK6google8protobuf14DescriptorPool21FindMessageTypeByNameERKSs Referenced from: /Users/Development/Labs/ptest/node_modules/rethinkdb/node_modules/node-protobuf/build/Release/protobuf.node Expected in: dynamic lookup
dyld: Symbol not found: __ZNK6google8protobuf14DescriptorPool21FindMessageTypeByNameERKSs Referenced from: /Users/Development/Labs/ptest/node_modules/rethinkdb/node_modules/node-protobuf/build/Release/protobuf.node Expected in: dynamic lookup
Trace/BPT trap: 5
Ideas? Thanks!