Ruby 3.3.0 on MacOS Sequoia 15.1 (recently upgraded from Sonoma) #2468
-
Recently upgraded my M1 mac from Sonoma to Sequoia, and now I'm unable to install ruby. The error is `checking whether the C compiler works ... no`.
I noted the section in the wiki on macOS:
The wiki section for C compiler cannot create executables indicated that the answer should be obvious from the log output, which I think I believe, but in this case it's not obvious to me. I do not have anaconda installed. The build folder also contained `config.log` for the output of the configure step which seems to indicate a library "System" is not found. I've attempted to extract the relevant parts of the output collapsed under here.
The error |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, this is indeed odd. I don't think you should be getting that You can try |
Beta Was this translation helpful? Give feedback.
@mislav thank you for the links and gist. Alas, that thread ended with the author noting their problems were solved with xcode-select and installing xcode, both of which I've done without success.
However, after reading the thread and clicking around a bit I ran into this comment on a similar thread which noted that uninstalling llvm solved their issue. This stood out at me because I recently updated llvm. This ultimately solved my issue.
I wanted to recreate the problem to see what signs I could have noticed which would have pointed me in this direction, but I have not yet been able to recreate the problem. Even
brew link --force llvm@18
does not cause the issue again. Something about ho…