{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/40653","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/40653/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/40653/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/40653/events","html_url":"https://github.com/Homebrew/homebrew/issues/40653","id":88034639,"number":40653,"title":"node build fails on OS X 10.11","user":{"login":"mologie","id":597682,"avatar_url":"https://avatars.githubusercontent.com/u/597682?v=3","gravatar_id":"","url":"https://api.github.com/users/mologie","html_url":"https://github.com/mologie","followers_url":"https://api.github.com/users/mologie/followers","following_url":"https://api.github.com/users/mologie/following{/other_user}","gists_url":"https://api.github.com/users/mologie/gists{/gist_id}","starred_url":"https://api.github.com/users/mologie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mologie/subscriptions","organizations_url":"https://api.github.com/users/mologie/orgs","repos_url":"https://api.github.com/users/mologie/repos","events_url":"https://api.github.com/users/mologie/events{/privacy}","received_events_url":"https://api.github.com/users/mologie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-13T17:06:47Z","updated_at":"2015-06-13T17:16:52Z","closed_at":null,"body":"```\r\n$ brew install node --with-icu4c --with-openssl   \r\n==> Downloading https://nodejs.org/dist/v0.12.4/node-v0.12.4.tar.gz\r\nAlready downloaded: /Library/Caches/Homebrew/node-0.12.4.tar.gz\r\n==> ./configure --prefix=/Users/oliver/.local/Cellar/node/0.12.4 --without-npm --with-intl=system-icu --shared-openssl\r\n==> make install\r\n  ./gyp-mac-tool flock /private/tmp/node20150613-90188-1v83nmc/node-v0.12.4/out/Release/linker.lock clang++ -Wl,-search_paths_first -mmacosx-version-min=10.5 -arch x86_64 -L/private/tmp/node20150613-90188-1v83nmc/node-v0.12.4/out/Release  -o \"/private/tmp/node20150613-90188-1v83nmc/node-v0.12.4/out/Release/mksnapshot\" /private/tmp/node20150613-90188-1v83nmc/node-v0.12.4/out/Release/obj.target/mksnapshot/deps/v8/src/mksnapshot.o /private/tmp/node20150613-90188-1v83nmc/node-v0.12.4/out/Release/libv8_base.a /private/tmp/node20150613-90188-1v83nmc/node-v0.12.4/out/Release/libv8_nosnapshot.a /private/tmp/node20150613-90188-1v83nmc/node-v0.12.4/out/Release/libv8_libplatform.a /private/tmp/node20150613-90188-1v83nmc/node-v0.12.4/out/Release/libv8_libbase.a -L/Users/oliver/.local/Cellar/openssl/1.0.2a-1/lib -lssl -lcrypto -L/Users/oliver/.local/Cellar/icu4c/55.1/lib -licui18n -licuuc -licudata\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[1]: *** [/private/tmp/node20150613-90188-1v83nmc/node-v0.12.4/out/Release/mksnapshot] Error 1\r\nmake: *** [node] Error 2\r\n```\r\n\r\nThis is likely an upstream issue in `node-gyp`: Apple removed the deprecated symlinks from `libgcc*.dylib` to `libSystem.B.dylib`.\r\n\r\nNote that I have Homebrew installed under `$HOME/.local`, but considering the nature of the error, I would not deem this relevant. Installation with the same setup succeeds on OS X 10.10.\r\n\r\nHarmless workaround for us early adopters:\r\n\r\n```\r\n$ cd /usr/local/lib\r\n$ sudo ln -s ../../lib/libSystem.B.dylib libgcc_s.10.5.dylib\r\n$ sudo ln -s ../../lib/libSystem.B.dylib libgcc_s.10.4.dylib\r\n```"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/111732589","html_url":"https://github.com/Homebrew/homebrew/issues/40653#issuecomment-111732589","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/40653","id":111732589,"user":{"login":"mistydemeo","id":780485,"avatar_url":"https://avatars.githubusercontent.com/u/780485?v=3","gravatar_id":"","url":"https://api.github.com/users/mistydemeo","html_url":"https://github.com/mistydemeo","followers_url":"https://api.github.com/users/mistydemeo/followers","following_url":"https://api.github.com/users/mistydemeo/following{/other_user}","gists_url":"https://api.github.com/users/mistydemeo/gists{/gist_id}","starred_url":"https://api.github.com/users/mistydemeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistydemeo/subscriptions","organizations_url":"https://api.github.com/users/mistydemeo/orgs","repos_url":"https://api.github.com/users/mistydemeo/repos","events_url":"https://api.github.com/users/mistydemeo/events{/privacy}","received_events_url":"https://api.github.com/users/mistydemeo/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T17:16:52Z","updated_at":"2015-06-13T17:16:52Z","body":"Apple appears to be shipping `.tbd` files for `libgcc_s.10.{4,5}`.\r\n\r\nAt least on my 10.10 system (upgraded from previous OS Xs), `libgcc_s.10.4.dylib` is not a symlink to libSystem the way that `libgcc_s.1.dylib` is."}}