title: Node couchbase module on Ubuntu server 12.04 throws "Invalid ELF header" error
body: <p>I'm trying to install a node app with couchbase on an Ubuntu server.</p>
  
  <p>I have downloaded Couchbase and installed it from here (as  listed on download page): <a href="http://packages.couchbase.com/releases/2.2.0/couchbase-server-enterprise_2.2.0_x86_64.deb" rel="nofollow">http://packages.couchbase.com/releases/2.2.0/couchbase-server-enterprise_2.2.0_x86_64.deb</a></p>
  
  <p>I can access it via web interface, it works fine.</p>
  
  <p>Next, I try to install couchbase node module via npm:</p>
  
  <pre><code>npm install couchbase --save
  </code></pre>
  
  <p>This completes successfully. However when I try to run my app (which works fine on my desktop Ubuntu) I get this error:</p>
  
  <pre><code>ubuntu@aws-box:~/project/$ node index.js 
  
  /home/ubuntu/project/node_modules/couchbase/lib/binding.js:16
    throw e;
          ^
  Error:   
  /home/ubuntu/project/node_modules/couchbase/prebuilt/win/x64/couchbase_impl.node: invalid ELF header
  at Module.load (module.js:349:32)
  at Function.Module._load (module.js:305:12)
  at Module.require (module.js:357:17)
  at require (module.js:373:17)
  at bindings (/home/ubuntu/project/node_modules/couchbase/node_modules/bindings/bindings.js:74:15)
  at tryLoadBinding (/home/ubuntu/project/node_modules/couchbase/lib/binding.js:13:31)
  at Object.&lt;anonymous&gt; (/home/ubuntu/project/node_modules/couchbase/lib/binding.js:30:17)
  at Module._compile (module.js:449:26)
  at Object.Module._extensions..js (module.js:467:10)
  at Module.load (module.js:349:32)
  </code></pre>
  
  <p>What's going wrong?</p>