I’m having this exact same problem too, on Ubuntu 12.04, but reinstalling libcouchbase via apt-get with the repository has not helped. Can you let me know the specific version of libcouchbase and couchnode you’re using? Thanks.
Vantage, couchnode is not being installed correctly, and the problem may have nothing to do with your libcouchbase installation. Try going into the node_modules/couchbase directory and running:
npm install
Do you get any errors or warnings during the node-gyp rebuild stage of the npm install procedure?
I’ve rebuilt the couchbase module several times, I get no errors or warnings. I just did another one, here’s what displayed during the node-gyp build stage:
The same problem still comes up. I was looking at the source code of libcouchbase, and I see what looks like the line where this symbol lookup error could be occurring:
This is line 61 of couchbase/src/couchbase_impl.cc in the couchbase package. I’m not a C++ dev though, so it’s hard for me to determine what library is having a problem here.
Thanks, but still no luck. I found that there was a libcouchbase directory in /usr/local/include, as well as some libevent header files, and I deleted them all, purged and reinstalled the libcouchbase packages, and the same problem remains. I do have the 2.1.3 version of libcouchnode installed. I’ve also tried downloading couchnode from Git and running npm install inside it, and it produces the same error.
I am using Couchbase 2.0, could that have anything to do with it? Do I need to upgrade to 2.2?
I finally figured it out. I had originally installed the Node version 0.6 that’s in the main Ubuntu repository, then later I built 0.10 from source and installed it so I could use current modules. However, it looks like this did not place all the libraries necessary for couchnode to work. I wiped all my Node.js stuff off the system, then added the Ubuntu Node 0.10 repository and reinstalled it via apt-get and now it works. Thanks!