Node.js SDK 'undefined symbol' error from couchbase_impl.node


I have successfully installed Couchbase Node.j SDK on linux. I got the following error when I tried to connect to a bucket.

$ node test.js
$/home/user1/node_modules/couchbase/build/Release/couchbase_impl.node: undefined symbol: _ZN4node12MakeCallbackEN2v86HandleIMS0_6ObjectEEENS1_INS0_8FunctionEEEiPNS1_INS0_5ValueEEE

Here is my test.js file:

var couchbase = require('couchbase');
var db = new couchbase.Connection({host: 'lcoalhost:8091', bucket: 'default'});

Any suggestions?


1 Answer

« Back to question.

Thanks for your reply. I have fixed this error by reinstall the libcouchbase by apt-get install.