Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-295

When npm installing couchnode on CentOS 6, the precompiled binary is linked against non-standard versions of GLIBC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.1.6
    • 2.1.5
    • library
    • None
    • OS: CentOS 6
      Edition: Couchbase 4.0 Community
      SDK: couchnode v2.1.5

    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:

      { "file": "module.js", "line": 440, "offset": 18, "type": "Error", "stack": [ "Error (native)", "Object.Module._extensions..node (module.js:440:18)", "Module.load (module.js:357:32)", "Function.Module._load (module.js:314:12)", "Module.require (module.js:367:17)", "require (internal/module.js:16:19)", "bindings (node_modules/bindings/bindings.js:76:44)", "Object.<anonymous> (node_modules/couchbase/lib/binding.js:138:36)", "Module._compile (module.js:413:34)", "Object.Module._extensions..js (module.js:422:10)" ] }

      [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)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            brett19 Brett Lawson
            AlmirKadric Almir Kadric
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty