Ruby 3.3.0 install fails building psych yaml.h not found #2334
-
Ruby 3.3.0 installation fails on Rocky Linux 9.3 building psych. yaml.h is not found but exists in location: /usr/include/yaml-cpp/yaml.h Installed yaml packages below. Unable to install yaml-dev package because it doesn't exist. yaml-cpp.x86_64 0.6.3-5.el9 @epel Installed. Log file shows yaml.h was not found during verification then. Fails during psych build: configuring psych *** Following extensions are not compiled: I did manually add yaml.h to global includes and yaml.h was found but then ios was missing. Can you help me? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Didn't list libyaml installation: |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
On Rocky 9+, you have to enable sudo dnf config-manager --set-enabled crb
sudo dnf install -y libyaml-devel And, Build and install the Ruby 3.3.x. |
Beta Was this translation helpful? Give feedback.
Solved my issue in the follow way: