-
Notifications
You must be signed in to change notification settings - Fork 790
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Ruby 2.4.2 fails to build on Ubuntu 16.04 #1146
Comments
I have the same problem on ubuntu 17.10 for all ruby versions I have tried to install Re-installing rbenv did not seem to help. |
[UPDATE] I succeeded to install Ruby 2.4.2 on the clean installed Ubuntu 16.04 Desktop. It seems that something goes wrong on my working Ubuntu 16.04. I will close this issue after researching just a little bit more. |
I have not detected the root cause of the problem, I found a workaround:
[UPDATE] You also need to install
|
I have the same problem. Apt-Get installed versiion on Ubuntu 17.10 is Ruby Build version: 20161225-1 Next step to is to uninstall + purge rbenv and to sea if Ubuntu supplied Ruby will be sufficient for my needs. |
@casperl I think your problem is different from mine. I don't encounter with any segmentation faults. My problem is related to linker. |
According to a bug report, you shoud type:
|
@kuroda that worked for me. Thanks! |
Upon the release of Ruby 2.5.0, I tried to build on my Ubuntu 16.04. I got following error messages:
As I did for Ruby 2.4.2, after building the
|
Did you try to install this (below) list of dependency to your Ubuntu system ?: |
As far as I know, (and tested) Ruby versions < 2.4 requires libssl1.0, while >2.4 libssl1.1+. The two libssl packages conflict with each other, so you can't have both of them, so I had to juggle the libs in order to install the required ruby version. To make things even funnier (or more complicated), Ruby <2.4 tends to require
|
I also faced this problem. This resource helped me to solve the problem. |
Can this issue not be closed, as both the After installing
|
Why should it be closed? What's the point of using a tool that works with all ruby envs if you have to dive into the docs for a compile error? At the very least it should check for these dependencies before building and get them or tell you they are missing so you can install them. |
this worked very well. |
saved me installing an older Ruby version for a project I inherited. |
You're an angel! |
This issue was fixed at the first reporter. |
any other solutions? all of them didn't work for me, I'm using ruby-install 2.6.3
|
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I have installed Ruby 2.4.1 successfully on my Ubuntu 16.04 Desktop, but failed to build Ruby 2.4.2.
Here are the last lines of error log:
The text was updated successfully, but these errors were encountered: