-
Notifications
You must be signed in to change notification settings - Fork 23
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
ignoring file bcrypt/libstatbcrypt.a when homebrew/binutils was installed #67
Comments
I think this is the reason that homebrew How did you accomplish this anyway? Homebrew won't let me do this: # brew link --force binutils
Warning: Refusing to link macOS-provided software: binutils
If you need to have binutils first in your PATH run:
echo 'export PATH="/usr/local/opt/binutils/bin:$PATH"' >> ~/.bash_profile
For compilers to find binutils you may need to set:
export LDFLAGS="-L/usr/local/opt/binutils/lib"
export CPPFLAGS="-I/usr/local/opt/binutils/include" Though I am surprised that the newer version of AR generates binaries that are apparently incompatible with the default linker from xcode. |
I installed |
OK so I think this should no longer be an issue with current homebrew. But thanks for raising this. |
I am on a macOS. I got the following error when trying to install openssl 1.3 from source.
With some digging, it seems to be related to the command
ar
which I installed viahomebrew/binutils
. The installation process works fine once I unlink the binutils. I am not sure if there is any fix forhomebrew/binutils
. I just want to post the issue here in case someone will encounter the same issue.The text was updated successfully, but these errors were encountered: