Build failures on macOS Sonoma 14.1 #2309
-
Hello! This isn't urgent but I'm posting here to rubber duck, potentially get some community support, and potentially act as a landing point for others with similar issues. I'm unable to install any ruby version. I'm using
Inspecting the build log, I see this (edited very slightly to try and highlight the important bits):
The lines that stood out to me:
I also looked in the
What I've tried
Any other suggestions? I'm happy to try almost anything and/or produce more logs. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Turns out, I had a wrong version of LLVM installed, along with the correct version. Looking through the
I noticed that After running |
Beta Was this translation helpful? Give feedback.
-
Worked for me: asdf-vm/asdf-ruby#198 and need |
Beta Was this translation helpful? Give feedback.
-
@edwardloveall I have this problem, I'm using Sonoma 14.1.1 and followed all the steps you mentioned, but still have this problem. In my case I need to install Ruby 3.0.2. |
Beta Was this translation helpful? Give feedback.
-
I ran into the same issue. Turns out ruby-build failed because libyaml was not installed. Quick fix:
|
Beta Was this translation helpful? Give feedback.
Turns out, I had a wrong version of LLVM installed, along with the correct version.
Looking through the
config.log
, I (again) saw these lines:I noticed that
llvm@11
seemed old because I just read that homebrew installs LLVM version 17. Turns out I had several versions of llvm installed locally.After running
brew uninstall llvm@11
(and also uninstallinggo…