skip to Main Content

Ubuntu unable to locate package libyaml

Ubuntu 20.04. Trying to install Ruby 3.2.2 I get the following error: /tmp/ruby-build.20230911110842.25159.uzwoaP/ruby-3.2.2/lib/yaml.rb:3: warning: It seems your ruby installation is missing psych (for YAML output). To eliminate this warning, please install libyaml and reinstall your ruby. So I go on…

VIEW QUESTION

Why do I get error compiling Ruby 3.2 on CentOS 7?

I try to build Ruby 3.2 using ruby-build plugin for rbenv but get some strange compilation error: compiling bignum.c In file included from vm_core.h:164:0, from iseq.h:14, from mini_builtin.c:3, from miniinit.c:51: thread_pthread.h:109:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before…

VIEW QUESTION
Back To Top
Search