-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Notes #22
Comments
Hello @ankane, thank you for the feedback, it seems very useful indeed :) Do you want to open a PR with the change to the readme? I can do it myself too, no problem |
Thanks @gverger, will defer to you to incorporate in whichever way you think is best. |
Quick follow up: Mac users can now install CBC with |
Update the readme according to issue #22 Making sure we can use ruby-cbc on different linux distributions with docker tests.
Update the readme according to issue #22 Making sure we can use ruby-cbc on different linux distributions with docker tests.
Update the readme according to issue #22 Making sure we can use ruby-cbc on different linux distributions with docker tests.
Thanks @ankane I've updated the readme. Your feedback was precious |
Thanks @gverger, looks great. Love how easy the gem is to use. |
Hey @gverger, thanks for this great library! I wanted to share some notes about installation that can hopefully be incorporated into the readme.
I think this line is outdated with the release of cbc-wrapper 2.9.9.4.
On Ubuntu, users need to do:
On Heroku, I was able to get it working with the Apt buildpack with an
Aptfile
of:And setting
LD_LIBRARY_PATH
so it can find LAPACK and BLAS.The last part is needed due to this issue, or it'll fail at runtime with
liblapack.so.3: cannot open shared object file: No such file or directory - /app/vendor/bundle/ruby/2.6.0/gems/cbc-wrapper-2.9.9.4/ext/cbc-wrapper/cbc_wrapper.so
.I also tried an older cbc-wrapper on Heroku without the Apt buildpack (
gem "cbc-wrapper", "2.9.9.3"
), and it installs, but fails at runtime withlibCgl.so.1: cannot open shared object file: No such file or directory - /app/vendor/bundle/ruby/2.6.0/gems/cbc-wrapper-2.9.9.3/ext/cbc-wrapper/cbc_wrapper.so (LoadError)
.Hopefully this is helpful to other users.
The text was updated successfully, but these errors were encountered: