Skip to content

Ruby 3.3.0 install fails building psych yaml.h not found #2334

Closed Answered by whitehome
whitehome asked this question in Build failures
Discussion options

You must be logged in to vote

Solved my issue in the follow way:

  1. Disabled rbenv
  2. Installed ruby-install
  3. ruby-install needed libyamal-devel and gdmb-devel to continue (note id did that up front!)
  4. As I already new libyaml-devel would not install on Rocky Linux 9 with dnf I finally foond the way to do it and gdmb-devel
  5. https://rockylinux.pkgs.org/9/rockylinux-devel-x86_64/libyaml-devel-0.2.5-7.el9.x86_64.rpm.html
  6. https://rockylinux.pkgs.org/9/rockylinux-crb-x86_64/gdbm-devel-1.19-4.el9.x86_64.rpm.html
  7. Both installed using the instructions under install
  8. I reenabled rbenv to test it and the install worked. so issue closed.
  9. I'd say ruby-install did a better job of identifying what I needed to do as I could find the missing …

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@whitehome
Comment options

Answer selected by mislav
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants