Skip to content
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

ls-remote fails inside docker container with "undefined symbol: curl_global_sslset" #351

Open
mattwynne opened this issue Feb 25, 2021 · 5 comments

Comments

@mattwynne
Copy link

I've got some code that runs fine on my local (OS X) dev machine, but when I run it inside a docker container (based off of the node:14.14.0 image), it fails with this error:

/app/node_modules/dugite/git/libexec/git-core/git-remote-https: symbol lookup error: /app/node_modules/dugite/git/libexec/git-core/git-remote-https: undefined symbol: curl_global_sslset

This is coming from a line that's trying to run ls-remote on an https:// remote URL.

Any ideas why this is happening and what we can do?

@mattwynne
Copy link
Author

mattwynne commented Feb 25, 2021

Seems to have started happening since we upgraded from 1.93 if that helps.

Let me know if there's anything else we can do to help diagnose it.

@sergiou87
Copy link
Member

Ouch! Sorry about that @mattwynne! I think 1.94 was the first version of dugite-native we built with GitHub Actions instead of whatever was used before, and we already found some issues related to libcurl on macOS (see desktop/desktop#11516).

I think the problem is related to whatever libcurl is installed in the GitHub Action runner. We'd need to take a look.

Also I think this issue should be in the https://github.com/desktop/dugite-native repo (affecting https://github.com/desktop/dugite-native/tree/v2.26.2-4 and newer), so I'll move it there 😄

Thanks for reporting this! ❤️

@sergiou87 sergiou87 transferred this issue from desktop/dugite Feb 26, 2021
@mattwynne
Copy link
Author

No worries @sergiou87 it's a great solid library most of the time and we get a lot of value from it, thanks to you and the other maintainers.

@edwinrodrigo
Copy link

Try this
https://softwaresup.net/icerik/ubuntu-github-desktop-kurulumu/

@zawata
Copy link

zawata commented Apr 4, 2024

I encounter this error trying to run against CentOS-7(which we are maintaining support for until June 30, 2024). To fix it, I ended up building git against a lower version of libcurl(specifically the one that ships with CentOS-7): gitkraken#2

I made modifications for all linux arch's but I didn't confirm it works on any of them except x64-linux because that's the only one we support currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants