-
-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First installation (of Ruby 2.4.0) fails on OS X #292
Comments
I get something similar:
Will write up more if I learn anything. |
OK so the fix for me was to
With that, it's installed like a charm. Thanks for a great piece of software @postmodern! |
I had a very similar issue that was solved with: brew install --force readline |
I'm getting similar to @mattwynne:
|
Tried reinsatlling openssl and readline but still getting:
log file:
|
nevermind, a full laptop restart fixed the issue! |
I know homebrew has the [email protected] package which runs under the M1 architecture. Any ideas on how to fix this? |
Fixed with: export RUBY_CFLAGS=-DUSE_FFI_CLOSURE_ALLOC
export LDFLAGS="-L/opt/homebrew/opt/libffi/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libffi/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/libffi/lib/pkgconfig" |
Worked for me. |
Looks like |
It looks like there's a bunch of packages already installed in Homebrew — (it'd be helpful if the output for those lines included which version
chruby
wants, and which it's getting.)But even after
brew uninstall automake bison openssl readline libyaml gdbm libffi
, it still fails in the same way upon configuration.The text was updated successfully, but these errors were encountered: