-
Notifications
You must be signed in to change notification settings - Fork 655
Closed
Description
libgit is built against libcurl, for HTTP support
libcurl has a pluggable back-end for which SSL library to use, but the choice is made at compile-time and can't be swapped out
For old, esoteric, stupid reasons, libcurl.so.3
can be built against OpenSSL 1.1 or OpenSSL 1.0, but not both at once - and on systems where one is installed, the other breaks.
e.g.:
MSBUILD : warning : WARN [05/11/18 16:26:23:16] Could not determine assembly version: System.TypeInitializationException: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception. ---> System.DllNotFoundException: lib/linux/x86_64/libgit2-baa87df.so [x.csproj]
MSBUILD : warning : at (wrapper managed-to-native) LibGit2Sharp.Core.NativeMethods.git_libgit2_init() [x.csproj]
This was fixed in LibGit2Sharp.NativeBinaries 1.0.192, which switched to using GNUTLS as its SSL library (which is less prone to breakage than OpenSSL).
As-is, this breaks on Ubuntu 18.04
SamAmco, coder2000 and mikesigs
Metadata
Metadata
Assignees
Labels
No labels