ankane / cmfrec-ruby

Recommendations for Ruby using collective matrix factorization
MIT License
29 stars 2 forks source link

Cannot open shared object file `liblapack.so.3` #7

Closed petershutt closed 10 months ago

petershutt commented 10 months ago

Hello! First of all, thanks for putting together such a great library!

I am having an issue, however, while running on Ubuntu. This is the issue: "/app/vendor/ruby-3.2.2/lib/ruby/3.2.0/fiddle.rb:62:in initialize': liblapack.so.3: cannot open shared object file: No such file or directory (Fiddle::DLError)"

I develop on OSX and it works great but when I deployed to our review apps which are provisioned by Heroku and run Ubuntu 22.04 I get the error.

The libs that Fiddle is attempting to open are /app/vendor/bundle/ruby/3.2.0/gems/cmfrec-0.2.1/vendor/x86_64-linux/libcmfrec.so which I believe is correct.

I also tried installing liblapack3 to Ubuntu but it didn't change anything.

Is there a dependency I need to install, or is there something else going on?

Thank you! Peter Shutt

petershutt commented 10 months ago

Going to close this as I found someone with the same issue here: https://github.com/ankane/cmfrec-ruby/issues/3

Thanks!