From: "hsbt (Hiroshi SHIBATA)" Date: 2022-10-06T05:54:42+00:00 Subject: [ruby-core:110196] [Ruby master Bug#18790] cannot load such file -- digest (LoadError) Issue #18790 has been updated by hsbt (Hiroshi SHIBATA). Status changed from Assigned to Closed The download feature for libyaml and libffi with extlibs has been removed from Ruby 3.2.0-preview2. This issue no longer happened. ---------------------------------------- Bug #18790: cannot load such file -- digest (LoadError) https://bugs.ruby-lang.org/issues/18790#change-99476 * Author: k0kubun (Takashi Kokubun) * Status: Closed * Priority: Normal * Assignee: hsbt (Hiroshi SHIBATA) * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- I got asked by @hsbt to file this. ## Backtrace ``` configuring psych /home/k0kubun/src/github.com/ruby/ruby/tool/extlibs.rb:7:in `require': cannot load such file -- digest (LoadError) from /home/k0kubun/src/github.com/ruby/ruby/tool/extlibs.rb:7:in `' from /home/k0kubun/src/github.com/ruby/ruby/ext/psych/extconf.rb:24:in `require_relative' from /home/k0kubun/src/github.com/ruby/ruby/ext/psych/extconf.rb:24:in `' from ../ext/extmk.rb:217:in `load' from ../ext/extmk.rb:217:in `block in extmake' from /home/k0kubun/src/github.com/ruby/ruby/lib/mkmf.rb:324:in `open' from ../ext/extmk.rb:213:in `extmake' from ../ext/extmk.rb:577:in `block in
' from ../ext/extmk.rb:573:in `each' from ../ext/extmk.rb:573:in `
' make[1]: *** [ext/configure-ext.mk:105: ext/psych/exts.mk] Error 1 make[1]: Leaving directory '/home/k0kubun/src/github.com/ruby/ruby/.ruby' make: *** [uncommon.mk:289: exts.mk] Error 2 ``` ## How to reproduce Build ruby without libyaml-dev (?). My build was fixed once I run the apt-get command written in https://github.com/rbenv/ruby-build/wiki, which was probably auto-removed when I upgraded Ubuntu 20.04 to 22.04. -- https://bugs.ruby-lang.org/ Unsubscribe: