Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#37613 - [ruby-iconv] LoadError: cannot load such file -- iconv/iconv.so

Attached to Project: Community Packages
Opened by Leif Warner (pdxleif) - Sunday, 03 November 2013, 00:30 GMT
Last edited by Maxime Gauduin (Alucryd) - Sunday, 03 November 2013, 11:24 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

x64
ruby-iconv-1.0.3-4 from [community]

irb> require 'iconv'
LoadError: cannot load such file -- iconv/iconv.so
from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /usr/lib/ruby/vendor_ruby/2.0.0/iconv.rb:1:in `<top (required)>'
from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from (irb):1
from /usr/bin/irb:12:in `<main>'

I see it in the package, though:
ruby-iconv /usr/lib/ruby/vendor_ruby/2.0.0/x86_64-linux/iconv.so
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Sunday, 03 November 2013, 11:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.0.3-6
Comment by Leif Warner (pdxleif) - Sunday, 03 November 2013, 02:21 GMT
If I change
/usr/lib/ruby/vendor_ruby/2.0.0/iconv.rb
to say
require "x86_64-linux/iconv.so"
instead of
require "iconv/iconv.so"
this works.

Or perhaps that .so should be installed at the path this .rb code expects?
Comment by Maxime Gauduin (Alucryd) - Sunday, 03 November 2013, 10:47 GMT
Hmm, I put it there because all other ruby packages in [community] put their native libs in $CARCH-linux folder. I'd rather change that one line.

Loading...