asdf-vm / asdf-vm/asdf-ruby

fails building ruby 3.1.0

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

Description

## Description

Building MRI 3.1.0 fails

```
$ asdf install ruby 3.1.0
Downloading ruby-3.1.0.tar.gz...
-> https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.0.tar.gz
Installing ruby-3.1.0...

BUILD FAILED (Arch Linux using ruby-build 20211225)

Inspect or clean up the working tree at /tmp/ruby-build.20211226205225.15895.kKdnTA
Results logged to /tmp/ruby-build.20211226205225.15895.log

Last 10 log lines:
LC_ALL =
LC_CTYPE = fr_FR.UTF-8
MFLAGS =
gcc (GCC) 11.1.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

./ruby: error while loading shared libraries: libruby.so.3.1: cannot open shared object file: No such file or directory
make: *** [uncommon.mk:1191: revision.tmp] Error 127
```

Here are the full build logs: http://ix.io/3JBg

## Environment

```
$ asdf --version
v0.9.0-9ee24a3

$ openssl version
OpenSSL 1.1.1m 14 Dec 2021

$ gcc --version
gcc (GCC) 11.1.0

$ make --version
GNU Make 4.3
```

## Related issues

- Upstream issue on ruby-build https://github.com/rbenv/ruby-build/issues/1874 --> Upstream discussion https://github.com/rbenv/ruby-build/discussions/1875

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.