Skip to content

Build failed for 2.6.6 on macOS 13.0 #2080

Discussion options

You must be logged in to vote

Newest Xcode Command Line Tools is known to give people problems. I've received the same error as you (although on an M1 machine) and the solution was to either pass --enable-shared (although, it should be enabled by default) via RUBY_CONFIGURE_OPTS or to downgrade Xcode Command Line Tools https://bugs.ruby-lang.org/issues/18912

Note that your macOS version is very new and that the Ruby version you're trying to compile is very old and unsupported (EOL). You should try to migrate your project to Ruby 3.0 or newer.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@syncopated
Comment options

Answer selected by syncopated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants