question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Github Application seems to be referencing the wrong lib curl

See original GitHub issue

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

  1. Go to Application
  2. Click on “push to origin”
  3. 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?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
sergiou87commented, Feb 4, 2021

We just released a new beta 2.6.3-beta3 that should include this fix too 😄

2reactions
sergiou87commented, Feb 4, 2021

@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 /Applications folder to avoid issues (but feel free to rename it to something else like GitHub Desktop-test instead of replacing your current version).

Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Seemingly incorrect relocation after HTTP/1.1 302 Found #4859
I believe it to be a bug, as this behavior seems to contradict the one described in the manual, as well as the...
Read more >
curl-config --libs returns incorrect value on cygwin · Issue #5793
Looking at the '/usr/lib/pkgconfig/libcurl.pc' file, I find: ... It seems the curl maintainers in cygwin has been doing their own patches on ...
Read more >
Linker error when building against a static libcurl built ... - GitHub
We are using a static build of libcurl for macOS, using the system SSL implementation. We are trying to update to latest stable...
Read more >
unresolved external symbols during linking #4965 - GitHub
I am able to build an application and link to libcurl when it is built as both static and runtime library static.
Read more >
error compiling curl with my own openssl version #1420 - GitHub
dynamic openssl: libcurl.so should reference my openssl libs ... Not sure how that would apply here though since you said OpenSSL 1.0.2.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found