Skip to content

Unable to install ruby 3.1.4 on M1 macOS 14.3.1 on arm64 using ruby-build 20240119 #2349

Discussion options

You must be logged in to vote

I think the culprit is this line:

ld: warning: ignoring file '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib': found architecture 'x86_64', required architecture 'arm64'

Is it possible that you've installed openssl@3 for x86_64 architecture instead for your computer's arm64 architecture, perhaps by doing arch -x86_64 /opt/homebrew/bin/brew install openssl@3?

You could try reinstalling openssl@3 and trying again. Note that you shouldn't be doing any arch tricks to do that.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@valdrinkuchi
Comment options

@mislav
Comment options

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