shared library installed to incorrect directory on amd64

Bug #5035 reported by sjansen
8
Affects Status Importance Assigned to Milestone
libgettext-ruby (Ubuntu)
Fix Released
Medium
MOTU Reviewers Team

Bug Description

$ dpkg -L libgettext-ruby1.8
... snip ...
/usr/lib/ruby/1.8/amd64-linux
/usr/lib/ruby/1.8/amd64-linux/gettext
/usr/lib/ruby/1.8/amd64-linux/gettext/_locale.so
... snip ...

These files should be in /usr/lib/ruby/1.8/x86_64-linux/. As a result, alexandria does not work.

$ alexandria
/usr/lib/ruby/1.8/gettext/locale_default.rb:12:in `require': no such file to load -- gettext/_locale (LoadError)
        from /usr/lib/ruby/1.8/gettext/locale_default.rb:12
        from /usr/lib/ruby/1.8/gettext/locale.rb:15
        from /usr/lib/ruby/1.8/gettext.rb:18
        from /usr/bin/alexandria:6

As a temporary fix, the following solves the problem:

ln -s /usr/lib/ruby/1.8/amd64-linux/gettext /usr/lib/ruby/1.8/x86_64-linux/

Changed in libgettext-ruby:
assignee: nobody → moturuby
Revision history for this message
Lucas Nussbaum (lucas) wrote :

This is because of an Ubuntu change: see http://people.ubuntu.com/~scott/ongoing-merge/libgettext-ruby/libgettext-ruby_ubuntu.patch . Jeff, can you explain why you made this change ?

Also, the version in Debian seems to fix the problem by not specifying --sodir anymore.

Revision history for this message
Lucas Nussbaum (lucas) wrote : patch for bug #5035

This very simple patch leaves ruby's setup.rb do its best to determine where to install files. It was tested on amd64, and it works.

Revision history for this message
Lucas Nussbaum (lucas) wrote : Debdiff which fixes this bug.

I didn't set the upload target, but I think that this could go to breezy-updates, since the change is very minor and was already integrated into Debian's package.

Changed in libgettext-ruby:
assignee: moturuby → motureviewers
Revision history for this message
Lucas Nussbaum (lucas) wrote :

 <Hieronymus> lucas: I think you should use "Close malone #5035" in you debian/changelog

Indeed ;)

Lucas Nussbaum (lucas)
Changed in libgettext-ruby:
status: New → PendingUpload
Revision history for this message
Martin Pitt (pitti) wrote :

Fix uploaded to breezy-updates, Colin or Matt need to approve it, though. The bug will stay open until this has happened.

Revision history for this message
Colin Watson (cjwatson) wrote :

breezy-updates upload approved.

Changed in libgettext-ruby:
status: PendingUpload → Fixed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.