Ruby 2.1.1 build fails on OS X (LDFLAGS error) #2214
Replies: 14 comments
-
This issue belongs to ruby-build, where the |
Beta Was this translation helpful? Give feedback.
-
It's pretty bizarre that you had this failure, when the LDFLAGS issue was supposed to be fixed in 50bf60f. I'm going to presume that this sorted itself out in the meantime and close this. If anyone has more information and failures with latest ruby-build, please report to ruby-build project. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I have this same problem |
Beta Was this translation helpful? Give feedback.
-
I'm also having this same problem - building fine on >= ruby-2.1.2 but failing on 2.1.1. This is on a brand new machine (7 days old) with a fresh Xcode, homebrew, etc). OSX 10.10.3. Here's the output from the build log.
|
Beta Was this translation helpful? Give feedback.
-
@dafstone It's probably a build bug with Ruby 2.1.1. Please upgrade to latest Ruby 2.1.x to fix it, as you already discovered. There should be nothing that prevents you from upgrading a project from Ruby 2.1.1 to latest patch version. There should be no functional changes. |
Beta Was this translation helpful? Give feedback.
-
Having the same problem with OS X 10.10.4 using ruby-build 20150719-13-g86919c8 installing any ruby version. |
Beta Was this translation helpful? Give feedback.
-
Try to create directory pointed by LDFLAGS, in example: mkdir -p /Users/stone/.rbenv/versions/2.1.1/lib For me - it worked! |
Beta Was this translation helpful? Give feedback.
-
@janusznowakowski That's what's confusing about this failure. Ruby-build automatically creates the directories referenced by LDFLAGS since 50bf60f years ago. I'm glad that you found a workaround, but it's puzzling to me why it's failing in the first place. |
Beta Was this translation helpful? Give feedback.
-
@mislav Yes, workaround by @janusznowakowski worked for me. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have also tried the suggested work around but I am still experiencing this. Reporting also logs:
|
Beta Was this translation helpful? Give feedback.
-
Ok, I have updated to Macosx 10.11 and it seems to work now... |
Beta Was this translation helpful? Give feedback.
-
@hiromipaw That's strange, but I'm glad you worked around your problem! |
Beta Was this translation helpful? Give feedback.
-
This error just surfaced for me as well. Strange as I'd only just set up a brand new rbenv install on since upgrading to OSX 10.11 It worked about 2 weeks ago but this was the first time since then I needed to install a new ruby. I've not updated Can confirm that |
Beta Was this translation helpful? Give feedback.
-
I'm having problems installing any versions of ruby with ruby-build latest and current master of rbenv. This is pretty bad. See #859 |
Beta Was this translation helpful? Give feedback.
-
I'm having Ruby 2.1.1 build failures on rbenv 0.4.0-97-gfe0b243 with OS X 10.9.3. Excerpt:
Shell output in this Gist or:
Log output in this Gist.
Beta Was this translation helpful? Give feedback.
All reactions