Hide Forgot
Description: # yum install ruby ruby-devel ... Installed: ruby.x86_64 0:1.8.7.299-5.el6_0.1 ruby-devel.x86_64 0:1.8.7.299-5.el6_0.1 Dependency Installed: ruby-libs.x86_64 0:1.8.7.299-5.el6_0.1 # ruby -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)' checking for rb_hash_foreach()... yes # yum install ruby-libs.i686 ... Installed: ruby-libs.i686 0:1.8.7.299-5.el6_0.1 # ruby -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)' mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h The subversion build relies on this, and it is breaking if the 32-bit ruby-libs is installed on a 64-bit machine. s390/s390x is showing the same issue.
Tank you for your report. The ruby-lib.e686 are not in best condition. This reminds me bug #624029. However, could you please enlighten me why do you need ruby-libs.i686 on you machine at all?
It is a build dependency on subversion errata
Looks that this problem appears when somebody tries to build 32b and 64b versions of subversion in one buildroot. So the workaround is to build them independently.
This will be postponed into next minor release, because the solution was not tested yet.
Created attachment 477001 [details] libdir fix It seems to be a problem in wrong libdir path. The attached patch solved the problem for me.
Comment on attachment 477001 [details] libdir fix The proposed patch installs noarch files twice in multilib - this is not optimal. Probably better to use the patch from bug 624029, comment 7 which also worked for me.
collectd builds require this too. $ ruby -e 'require "mkmf"' mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h
*** Bug 719924 has been marked as a duplicate of this bug. ***
*** Bug 624029 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2011-1581.html