-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
macOS / MacPorts => dyld: Library not loaded: /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib #772
Comments
a) I never heard of macports (TIL) - I guess its something like homebrew? any idea what version you might have gotten? it smells old, since we started vendoring openssl in the binary a while ago. so I see two solutions:
|
a) Yes b & c) Nobody did, I mentioned MacPorts because I install(ed) OpenSSL using it, and MacPorts seems to use different paths than Homebrew. I built from source and here you can see the dependencies of the final binary:
As you can see there is no reference to OpenSSL in my compiled version. So, maybe it's not needed? Or am I missing something? |
well it is correct that the binary should not even link a openssl dylib. I wonder why only our release binaries we have in the release tags here have this. |
the plot thickens: the ci uses the new resolver ( |
I found a workaround for this: adding the fixed in #775 |
@Robert-M-Muench thanks for reporting this, it actually uncovered quiet some oddities with rust/cargo |
Glad it helped to find the problem and thanks for picking this up that quick. |
I use MacPorts and it seems gitui is using some hardcoded/linked paths that don't fit:
Any chance to have a binary without hardcoded paths? Or is it best to compile from source?
The text was updated successfully, but these errors were encountered: