bnoordhuis / node-buffertools

working with node.js buffers made easy
ISC License
205 stars 35 forks source link

Missing library error during installation - ld: library not found for -lgcc_s.10.5 #75

Closed sscholle closed 8 years ago

sscholle commented 8 years ago

Sebastians-iMac:gulp-hashsum sebastian$ npm install buffertools /

buffertools@2.1.3 install /repo/play-next/vinyl-countdown/node_modules/gulp-hashsum/node_modules/buffertools node-gyp rebuild

CXX(target) Release/obj.target/buffertools/buffertools.o SOLINK_MODULE(target) Release/buffertools.node ld: library not found for -lgcc_s.10.5 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *\ [Release/buffertools.node] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Darwin 14.5.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /repo/play-next/vinyl-countdown/node_modules/gulp-hashsum/node_modules/buffertools gyp ERR! node -v v4.2.2 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "buffertools" npm ERR! node v4.2.2 npm ERR! npm v2.14.7 npm ERR! code ELIFECYCLE

npm ERR! buffertools@2.1.3 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the buffertools@2.1.3 install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the buffertools package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls buffertools npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /repo/play-next/vinyl-countdown/node_modules/gulp-hashsum/npm-debug.log

bnoordhuis commented 8 years ago

ld: library not found for -lgcc_s.10.5

That's an issue with OS X. Google around for that error message, a lot of people have run into it. Make sure everything on your system is up to date.