desktop: Github Application seems to be referencing the wrong lib curl
Describe the bug
dyld: lazy symbol binding failed: Symbol not found: _curl_global_sslset
Referenced from: /Applications/GitHub Desktop.app/Contents/Resources/app/git/libexec/git-core/git-remote-https
Expected in: /usr/lib/libcurl.4.dylib
dyld: Symbol not found: _curl_global_sslset
Referenced from: /Applications/GitHub Desktop.app/Contents/Resources/app/git/libexec/git-core/git-remote-https
Expected in: /usr/lib/libcurl.4.dylib
No matter what I do, reinstall Github, install via Brew or through the website, it won’t stop saying this symbol is not found. However, after reinstalling git the error went away when calling git from the terminal. The error however, is still popping up in the Application.
Version & OS
Open ‘About GitHub Desktop’ menu to see the Desktop version. Also include what operating system you are using. Github: Version 2.6.2 OS: 10.14.6 (18G8012) “Mojave”
Steps to reproduce the behavior
- Go to Application
- Click on “push to origin”
- Error will popup.
however, if I go to terminal and do the same, there is no error.
Expected behavior
The application pushes to origin with no issues.
Actual behavior
I get the error above.
Screenshots
Add screenshots to help explain your problem, if applicable.
Logs
2021-02-02T18:29:50.206Z - error: [ui] `git -c credential.helper= fetch --progress --prune origin` exited with an unexpected code: 128.
stderr:
dyld: lazy symbol binding failed: Symbol not found: _curl_global_sslset
Referenced from: /Applications/GitHub Desktop.app/Contents/Resources/app/git/libexec/git-core/git-remote-https
Expected in: /usr/lib/libcurl.4.dylib
dyld: Symbol not found: _curl_global_sslset
Referenced from: /Applications/GitHub Desktop.app/Contents/Resources/app/git/libexec/git-core/git-remote-https
Expected in: /usr/lib/libcurl.4.dylib
Additional context
Is there any way to reference the local version of git? or specify a different location this application should be looking at?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 15 (6 by maintainers)
We just released a new beta 2.6.3-beta3 that should include this fix too 😄
@caperneoignis @dolthead I just made a build which has git built with macOS Mojave’s SDK. If you have a chance, please give it a try and let me know if it works: https://s3.amazonaws.com/github-desktop/releases/2.6.3-test4-d8def0e1/GitHubDesktop.zip
The build comes from the branch releases/2.6.3-test4, if you want to take a look, although the important bits are in desktop/dugite-native#350
Make sure to place it in your
/Applicationsfolder to avoid issues (but feel free to rename it to something else likeGitHub Desktop-testinstead of replacing your current version).Thank you!
I’m starting to consider the problem comes from building git with a more modern Xcode or macOS SDK. I started to do some digging in desktop/dugite-native#350 and will let you know if I have something to test.
Sorry about all these problems and thanks for the help debugging it!! I really appreciate it ❤️
@sergiou87 That build indeed fixed the issue for me. Thank you!