Description of problem: Native library can't be found when using rubygem-rdiscount package at runtime. Version-Release number of selected component (if applicable): 2.1.7.1-9.el7 How reproducible: always Steps to Reproduce: yum install -y 'rubygem(rdiscount)' ruby -rrdiscount -e 'p RDiscount::VERSION' Actual results: /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- rdiscount.so (LoadError) from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/share/gems/gems/rdiscount-2.1.7.1/lib/rdiscount.rb:108:in `<top (required)>' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:135:in `require' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:135:in `rescue in require' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:144:in `require' Expected results: "2.1.7" Additional info: For EPEL 7, rdiscount.so needs to be installed into lib/ subdirectory: %{buildroot}%{gem_extdir_mri}/lib/
I can reproduce the error. I will start to work on a fix.
A successful epel7 scratch is at: https://koji.fedoraproject.org/koji/taskinfo?taskID=19233314
Yes, the scratch build works good - the simple require and also the rendering.
rubygem-rdiscount-2.1.8-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-c725ecc60a
rubygem-rdiscount-2.1.8-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-c725ecc60a
rubygem-rdiscount-2.1.8-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.