New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RHEL 7 and rvm (libyaml-devel not found) #2998
Comments
Hi, I had your same problem and solved this way: Took note of the version, then looked for its devel version in rpmfind.net then in my case: wget ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/7rolling/x86_64/os/Packages/libyaml-devel-0.1.4-10.el7.x86_64.rpm I needed 1.9.3-p448 but I think it will work for any Ruby version |
Thank you @agiovacchini , your instructions worked for me. |
can you open ticket for http://fedoraproject.org/ about hte missing |
+1 wget ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/7rolling/x86_64/os/Packages/libyaml-devel-0.1.4-10.el7.x86_64.rpm |
FYI, RHEL7 (and 6) include libyaml-devel in the "Optional" repository. The optional repository is available to any subscriber, but you have to configure it (with rhn-channel or "subscription-manager repos"). As is redhat's usual practice, they are based on version 0.1.4 and 0.1.3 respectively, but claim to include patches for CVE-2013-6393 and CVE-2014-2525 |
now this is something I could use, can you show me instructions for checking if this repo is enabled and for enabling it? - please open a new ticket |
Alternative (better) solution that @agiovacchini's: #3191 (comment) |
this worked for me subscription-manager repos --enable rhel-7-server-optional-rpms |
Solution of @leshiynyc is good for me, thank you |
I'm trying this but getting 2 problems, first, the wget link is probably offline because I get this message:
Second, when I try to download libyaml-devel from another source and another version, I get:
What should I do? I can't find this libyaml on yum search, I tried to install some other Yaml lib that looked like this from the yum repository and it didn't work either :/ |
@viniciuspires look at my earlier post. |
@leshiynyc Tried that too :/
|
@viniciuspires what OS are you on ? Run this for me, please : cat /etc/redhat-release |
Woops, sorry... I forgot to add that info. It's RHEL 6 Em ter, 1 de nov de 2016 11:44, leshiynyc notifications@github.com
|
@viniciuspires : https://access.redhat.com/solutions/265523 yum-config-manager --enable rhel-6-server-optional-rpms notice that the commands for subscribing are different between rhel6 and rhel7 |
@leshiynyc Also gives a command not found error :/ |
Try whit this:
Worked for me. |
@vadq91 Worked for me. Thanks |
Ruby supports embeded libyaml since 2.0.0, no need to require superflous and buggy instructions to add it. This can pose security risk for not updated libyaml - but it should be Ruby's responsibility to inform users about it! Fixes #2998 Update #3194 Deprecate/fix #3191 Deprecate/fix #3207 Partially fixes #3304
Ruby supports embedded libyaml since 2.0.0, no need to require superfluous and buggy instructions to add it. This can pose security risk for not updated libyaml - but it should be Ruby's responsibility to inform users about it! Fixes #2998 Update #3194 Deprecate/fix #3191 Deprecate/fix #3207 Partially fixes #3304
anyone interested could you try: rvm get branch /bugfix/2998_use_rubys_bundled_libyaml |
This has been merged to master, so try |
I'm using RHEL:
RVM seemed to install fine but I cannot install ruby.
Per #2471 and #2371, I have EPEL repository installed and enabled:
libyaml is installed but from what I can see there is no libyaml-devel in EPEL 7 (http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/repoview/letter_l.group.html)
Any help or suggestions on how to get around this would be appreciated! Thanks.
The text was updated successfully, but these errors were encountered: