chrisdew / protobuf

Protocol Buffers for Node.JS
http://code.google.com/p/protobuf-for-node/
Apache License 2.0
234 stars 71 forks source link

Error when attempting to build a 32 bit version #44

Open jamiees2 opened 10 years ago

jamiees2 commented 10 years ago

I am trying to use this module with node-webkit, but after some debugging im stuck at the following error: This is after running npm install --target=0.10.22 --arch=ia32

>> dyld: lazy symbol binding failed: Symbol not found: __ZN2v86String3NewEPKci
>>   Referenced from: /Users/james/projects/deildu-time/dist/DeilduTime.app/Contents/Resources/app.nw/node_modules/castv2-client/node_modules/castv2/node_modules/protobuf/build/Release/protobuf_for_node.node
>>   Expected in: dynamic lookup
>>
>> dyld: Symbol not found: __ZN2v86String3NewEPKci
>>   Referenced from: /Users/james/projects/deildu-
>> time/dist/DeilduTime.app/Contents/Resources/app.nw/node_modules/castv2-client/node_modules/castv2/node_modules/protobuf/build/Release/protobuf_for_node.node
>>   Expected in: dynamic lookup
>> Exited with code: 6.
jamiees2 commented 10 years ago

I got this working by replacing this module with node-protobuf which provides a similar api. This is still an issue, and i am going to leave it open.