native extension doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ruby-murmurhash3 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Package ruby-murmurhash3 could work in two ways: native and pure ruby. In Focal works in pure ruby only, which is slower than native extension.
How to reproduce:
$ docker run -it ubuntu:focal
# apt-get update && apt-get install ruby-murmurhash3
# ruby -e 'require "murmurhash3"'
Attention: used pure ruby version of MurmurHash3
I've made some further investigations. I've installed this library as a gem (apt-get install build-essential ruby-dev && gem install murmurhash3) and I've saw that message about pure ruby version didn't appear. I've searched, where is located file native.so. I've found it in 3 places:
/var/lib/
/var/lib/
/var/lib/
After restarting docker container, and installing ruby-murmurhash3 again, I copied file /usr/lib/
and the problem was solved.
Please, fix the package this way.
Current package version:
ruby-murmurhash3 0.1.6-2build1 amd64
Status changed to 'Confirmed' because the bug affects multiple users.