Details
Description
When npm installing couchnode on CentOS 6, the precompiled binary is linked against non-standard versions of GLIBC and thus needs to be recompiled for it to work.
Uncaught exception: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by <...>/node_modules/couchbase/build/Release/couchbase_impl.node)
data:
[vagrant@localhost ~]$ ldd couchbase_impl.node
./couchbase_impl.node: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./couchbase_impl.node)
./couchbase_impl.node: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by ./couchbase_impl.node)
./couchbase_impl.node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./couchbase_impl.node)
linux-vdso.so.1 => (0x00007fff495b6000)
libstdc+.so.6 => /usr/lib64/libstdc+.so.6 (0x00007f6498707000)
libm.so.6 => /lib64/libm.so.6 (0x00007f6498483000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f649826c000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f649804f000)
libc.so.6 => /lib64/libc.so.6 (0x00007f6497cbb000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6498cd3000)