-
Notifications
You must be signed in to change notification settings - Fork 368
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
Creating a switch on macOS fails due to ranlib #3749
Comments
Your issue seems similar to #3650 (linker problem on macos), you can try solutions proposed there (unlink binutils). Thanks for reporting! |
Hi @rjbou thanks for you reply! I had seen that issue previously and tried to apply the proposed solution but I have not installed binutils via Homebrew (so unlinking is not possible). If there is any data about my environment I can provide to make resolving this easier, please just let me know. |
I see from the working directory that you are using XCode, ranlib |
Both my Xcode and Xcode Command Line Tools are up-to-date and matched:
|
This is a bit strange here I have:
There may be a problem along the lines where you are using |
Hey @dbuenzli thanks a lot for your help! Indeed, the incorrect location of ranlib seems to have been the problem - prepending I'm not sure how I could have found out which package added the ranlib via homebrew, though. |
Here's one way. |
Thanks! Turns out it was libtool that was problematic. |
Aha. I think you should update/upgrade your homebrew install which is quite lagging. Here the This should allow you to get back to your desdired $PATH order. |
I am currently trying to install a new switch besides my default system one but am getting a failure during compilation that seems to be related to ranlib. I am quite new to the ecosystem, so please forgive me if this issue is easily solved or just me misusing the tool.
My configuration:
Here’s the log created when trying to create the switch:
The text was updated successfully, but these errors were encountered: