Consistent Build Failure: libtool issue #2063
Unanswered
WarthogARJ
asked this question in
Build failures
Replies: 1 comment 1 reply
-
Thanks for sharing your workaround. I am not entirely sure what exactly causes this issue or why the patch is needed in the first place. Are you saying that you solved the problem by reinstalling your Xcode CommandLine tools, applying the patch, or by doing both? We can consider adding this to the troubleshooting section here: https://github.com/rbenv/ruby-build/wiki#troubleshooting |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem:
My analysis: this is not a rbenv issue, but ruby-build problem
Others in the posted references have said the sanme thing.
This is perhaps a feature request, or at least a request for a properly document comment/workaround in the Installation istructions.
After I was unable to run "install rebenv 3.1.2 I tried all the trouble-shooting suggesting on rebenv.
As well as on ruby-build.
I then saw the EXACT same iproblem in various reported Issues, but they were never really Closed or acted upon.
But usually moved to "Discussion".
When I dug out the background, I followed what worked for them, and solved my problem.
Can the Mainteners of Ruby-Build, please discuss the issue with those of Rebenv, and make a Note that others can follow?
Ideally solve the issue, but having a documented workaround would help.
I was about to delete Rebenv and start using another package installer that would work until I dug up these more cryptic work-arounds.
Steps to reproduce the behavior
Attempts to execute rebenv install 3.1.2 by numerous people including myself lead to failure
Refer to:
#1505 (comment)
https://bugs.ruby-lang.org/issues/17486
ruby/ruby@ed01cc8
I had EXACTLY these issues.
I solved it by following their advice:
(1) Writing the described patch
(2) Installing it in /var/tmp/configure.ac.patch
(3) brew upgrade
(4) brew install rbenv ruby-build libffi
(5) /var/tmp/configure.ac.patch rbenv install -p 3.1.2
Result: success
Install details:
ruby-build.20221003233044.24676.log
Catalina 10.15.7
XCode Version 12.4
Brew upgrade run
Beta Was this translation helpful? Give feedback.
All reactions