Skip to content
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

Installing openssl in presence of Homebrew LLVM #252

Open
yrashk opened this issue Feb 16, 2022 · 0 comments
Open

Installing openssl in presence of Homebrew LLVM #252

yrashk opened this issue Feb 16, 2022 · 0 comments

Comments

@yrashk
Copy link

yrashk commented Feb 16, 2022

I was trying to build ruby 3.1.0 but was running into an issue with openssl. It was failing at

install libcrypto.a -> /Users/yrashk/.asdf/installs/ruby/3.1.0/openssl/lib/libcrypto.a
ranlib: error: Invalid option: '-c'

Turns out, this was because of my LLVM installation:

$ which ranlib
/opt/homebrew/opt/llvm/bin/ranlib

When I reran installation like this:

RANLIB=/usr/bin/ranlib  asdf install ruby 3.1.0

everything worked.

Can this case be handled in some way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant