node-sass: Installing 1.2.1 error on debian wheezy (Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found)
$ npm install node-sass
\
> gaze@0.6.4 install /home/niko/sasstest2/node_modules/node-sass/node_modules/gaze
> node-gyp rebuild
make: Entering directory `/home/niko/sasstest2/node_modules/node-sass/node_modules/gaze/build'
CXX(target) Release/obj.target/pathwatcher/src/main.o
CXX(target) Release/obj.target/pathwatcher/src/common.o
CXX(target) Release/obj.target/pathwatcher/src/handle_map.o
../src/handle_map.cc: In member function ‘bool HandleMap::Erase(WatcherHandle)’:
../src/handle_map.cc:41:26: warning: ‘void NanDispose(v8::Persistent<S>&) [with T = v8::Value]’ is deprecated (declared at ../node_modules/nan/nan.h:612) [-Wdeprecated-declarations]
../src/handle_map.cc: In member function ‘void HandleMap::Clear()’:
../src/handle_map.cc:48:28: warning: ‘void NanDispose(v8::Persistent<S>&) [with T = v8::Value]’ is deprecated (declared at ../node_modules/nan/nan.h:612) [-Wdeprecated-declarations]
CXX(target) Release/obj.target/pathwatcher/src/pathwatcher_linux.o
SOLINK_MODULE(target) Release/obj.target/pathwatcher.node
SOLINK_MODULE(target) Release/obj.target/pathwatcher.node: Finished
COPY Release/pathwatcher.node
make: Leaving directory `/home/niko/sasstest2/node_modules/node-sass/node_modules/gaze/build'
> node-sass@1.2.1 install /home/niko/sasstest2/node_modules/node-sass
> node scripts/install.js
fetch : https://raw.githubusercontent.com/sass/node-sass-binaries/v1.2.1/linux-x64-v8-3.14/binding.node
progress : [====================] 100% 0.0s
Binary installed in /home/niko/sasstest2/node_modules/node-sass/vendor/linux-x64-v8-3.14
> node-sass@1.2.1 postinstall /home/niko/sasstest2/node_modules/node-sass
> node scripts/build.js
`linux-x64-v8-3.14` exists; testing
module.js:356
Module._extensions[extension](this, filename);
^
Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /home/niko/sasstest2/node_modules/node-sass/vendor/linux-x64-v8-3.14/binding.node)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/home/niko/sasstest2/node_modules/node-sass/lib/index.js:182:15)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
npm ERR! Linux 3.2.0-4-amd64
npm ERR! argv "node" "/usr/bin/npm" "install" "node-sass"
npm ERR! node v0.10.29
npm ERR! npm v2.1.6
npm ERR! code ELIFECYCLE
npm ERR! node-sass@1.2.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the node-sass@1.2.1 postinstall script.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Linux 3.2.0-4-amd64
npm ERR! argv "node" "/usr/bin/npm" "install" "node-sass"
npm ERR! node v0.10.29
npm ERR! npm v2.1.6
npm ERR! Uncaught, unspecified "error" event.
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /home/niko/sasstest2/npm-debug.log
Works correctly: node-sass@1.1.4
$ npm --version
2.1.6
$ node --version
v0.10.29
$ gcc --version
gcc (Debian 4.7.2-5) 4.7.2
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.7 (wheezy)
Release: 7.7
Codename: wheezy
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Reactions: 1
- Comments: 114 (41 by maintainers)
Commits related to this issue
- add environment variable to force a build this can be used to workaround #517 — committed to vivid-planet/node-sass by nsams 10 years ago
- add environment variable to force a build this can be used to workaround #517 — committed to vivid-planet/node-sass by nsams 10 years ago
- browser: hard-wire node-sass 1.0.3 Stick to node-sass@1.0.3 to avoid RedHat problem: "Error: /lib64/libstdc++.so.6: version GLIBCXX_3.4.18' not found" Watch https://github.com/sass/node-sass/issues... — committed to laurelnaiad/marklogic-samplestack by laurelnaiad 10 years ago
- lock node-sass version due to https://github.com/sass/node-sass/issues/517 — committed to ef4/broccoli-sass by ef4 10 years ago
- Use node-sass@2.0.0-beta per https://github.com/sass/node-sass/issues/517 — committed to daigofuji/grunt-sass by daigofuji 9 years ago
- POC java and middle tier POC browser tier post-POC changes to java/database tiers Port of post-POC changes from separate repositories post-POC changes to browser tier Port of post-POC changes fro... — committed to vladistan/marklogic-samplestack by deleted user 10 years ago
- Merge pull request #517 from wonja/call_function call function (Fixes #418) it works I seen it with my own eyes — committed to scantist-ossops-m2/node-sass by deleted user 10 years ago
Installing libstdc++6-4.7-dev did it for me. On node version 0.10.33 and npm version 2.1.7.