{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/2933","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/2933/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/2933/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/2933/events","html_url":"https://github.com/nodejs/node/issues/2933","id":107045274,"number":2933,"title":"XCode 7: library not found for -lgcc_s.10.5","user":{"login":"jonathanong","id":643505,"avatar_url":"https://avatars.githubusercontent.com/u/643505?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanong","html_url":"https://github.com/jonathanong","followers_url":"https://api.github.com/users/jonathanong/followers","following_url":"https://api.github.com/users/jonathanong/following{/other_user}","gists_url":"https://api.github.com/users/jonathanong/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanong/subscriptions","organizations_url":"https://api.github.com/users/jonathanong/orgs","repos_url":"https://api.github.com/users/jonathanong/repos","events_url":"https://api.github.com/users/jonathanong/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanong/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":32,"created_at":"2015-09-17T18:33:07Z","updated_at":"2016-03-31T17:38:15Z","closed_at":"2015-09-17T18:35:56Z","body":"my coworkers and i are running into this issue after updating to XCode 7 automatically today on 10.10.5. not sure what to do.\r\n\r\njust running `npm i bcrypt` gets the following:\r\n\r\n```bash\r\n> bcrypt@0.8.5 install /Users/jong/Workspace/jonathanong/node.bcrypt.js\r\n> node-gyp rebuild\r\n\r\n  CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o\r\n  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o\r\n  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o\r\n  SOLINK_MODULE(target) Release/bcrypt_lib.node\r\nld: library not found for -lgcc_s.10.5\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake: *** [Release/bcrypt_lib.node] Error 1\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/Users/jong/.nvm/versions/io.js/v2.5.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)\r\ngyp ERR! stack     at emitTwo (events.js:87:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\ngyp ERR! System Darwin 14.5.0\r\ngyp ERR! command \"/Users/jong/.nvm/versions/io.js/v2.5.0/bin/iojs\" \"/Users/jong/.nvm/versions/io.js/v2.5.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /Users/jong/Workspace/jonathanong/node.bcrypt.js\r\ngyp ERR! node -v v2.5.0\r\ngyp ERR! node-gyp -v v2.0.2\r\ngyp ERR! not ok \r\n\r\nnpm ERR! Darwin 14.5.0\r\nnpm ERR! argv \"/Users/jong/.nvm/versions/io.js/v2.5.0/bin/iojs\" \"/Users/jong/.nvm/versions/io.js/v2.5.0/bin/npm\" \"i\"\r\nnpm ERR! node v2.5.0\r\nnpm ERR! npm  v2.13.2\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! bcrypt@0.8.5 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the bcrypt@0.8.5 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the bcrypt package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls bcrypt\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/jong/Workspace/jonathanong/node.bcrypt.js/npm-debug.log\r\n```\r\n\r\nspecifically:\r\n\r\n```bash\r\nld: library not found for -lgcc_s.10.5\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n```\r\n\r\ni've been looking for solutions online but none really work. this happens on node v2 and v4 for me. this happens for any package i have that requires compilation."},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/204044473","html_url":"https://github.com/nodejs/node/issues/2933#issuecomment-204044473","issue_url":"https://api.github.com/repos/nodejs/node/issues/2933","id":204044473,"user":{"login":"jennabelle","id":5351085,"avatar_url":"https://avatars.githubusercontent.com/u/5351085?v=3","gravatar_id":"","url":"https://api.github.com/users/jennabelle","html_url":"https://github.com/jennabelle","followers_url":"https://api.github.com/users/jennabelle/followers","following_url":"https://api.github.com/users/jennabelle/following{/other_user}","gists_url":"https://api.github.com/users/jennabelle/gists{/gist_id}","starred_url":"https://api.github.com/users/jennabelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jennabelle/subscriptions","organizations_url":"https://api.github.com/users/jennabelle/orgs","repos_url":"https://api.github.com/users/jennabelle/repos","events_url":"https://api.github.com/users/jennabelle/events{/privacy}","received_events_url":"https://api.github.com/users/jennabelle/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T17:38:15Z","updated_at":"2016-03-31T17:38:15Z","body":"@dandehavilland Thank you but I ended up manually installing my 3 versions of Node.js and reinstalling. In process I removed .node-gyp which I believe was giving me errors, so the issue is fixed now. "}}