-
Notifications
You must be signed in to change notification settings - Fork 63
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
How to find out Linux dependencies? #59
Comments
@JoshuaBStevens The version of the library that ships in the NuGet package is built on Ubuntu 14.04 (from Travis CI), so it doesn't work with OpenSSL 1.0.2. The plan is to eventually ship multiple binaries built against the default versions for the various repos that .NET Core supports: #51, but that hasn't been finished yet. In the mean time, if you clone this repo and run |
Yep, things are getting very close. I was about to push up a new native binaries package, but released I forgot to update the props file in #71, so once #73 is merged, I'll be able to do that. Then I'll need to open a LibGit2Sharp PR to use the new package. Once that's done, we should be able to get a new LibGit2Sharp prerelease up as well. I'm fairly confident the new native binaries package should cover the all the operating systems supported by .NET Core, but there's always a chance I've missed something and will need to do another round of tweaking of the binaries included in the package. 🤞 |
Did something change with how it was built between the versions 6311e88 (used in LibGit2Sharp 0.25.2) and 8e0b172 (used in LibGit2Sharp 0.25.3) for linux-x64? Long story short I can get 0.25.2 to work on my Arch Linux box but not 0.25.3. It appears that 6311e88 uses libcurl-gnutls.so.4 and 8e0b172 uses libcurl.so.4 based on the output from
I know I'm running on an unsupported version of Linux but it WAS working. :) |
@kll There have been some changes in how the binaries are built, and it looks like the specific curl library has changed. Based on a quick search, it looks like you should be able to install the Because this is such a hassle for so many people, we are looking at removing the OpenSSL & curl requirements from the native library altogether in the future. Instead, we'll handle that with managed code in LibGit2Sharp directly. |
I've already got that installed. It is why it worked at all before. :) Using ldd on all the various native binaries shows that if I could get it to try to use the fedora or rhel versions included in 0.25.3 it would work great and not even require libcurl-compat. I've thought about trying to do my own custom compile of the dotnet sdk to make it use fedora-x64 but that seems kinda overkill. Eliminating the native dependency on curl would certainly help. Or at least let the fallback linux-x64 RID use something a bit more modern and leave the super old insecure versions for specific RIDs that require them. |
Curl and OpenSSL have been removed as dependencies now, so this should be considered fixed. |
I need a version of this package that supports libssl.so.1.0.2. Is there somewhere in the sources that the libssl dependency is expressed so I can check? Or can someone tell me if there is a version available on Nuget that does support that libssl version?
Thanks!
-Josh
The text was updated successfully, but these errors were encountered: