asdf-vm / asdf-vm/asdf-ruby

Installing openssl in presence of Homebrew LLVM

Open
#252 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
734
Forks
156
Avg merge
17h 6m
Merged PRs (30d)
1

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.