You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is related to #1585, so creating a separate issue.
See Cake.Dungeon Docker build where I'm doing a Cake build in a Docker container based on Ubuntu 20.04 (Focal) using the .NET Core 3.1 SDK nightly preview (Dockerfile). The build fails with error:
System.DllNotFoundException: Unable to load shared library 'git2-106a5f2' or one of its dependencies...
I'm using GitVersion 5.1.3, which is already using the latest LibGit2Sharp libraries AFAICT.
Any change that this bug will be fixed soon? Github will move their default linux agents to Ubuntu 20.04 which means that a lot of people will get breaking builds soon.
Activity
Revert "Switch from dotnet/core/sdk (bionic) to dotnet/core-nightly/s…
patrolez commentedon Mar 30, 2020
I can see that this is related to OpenSSL version.
Since Ubuntu Eoan the OpenSSL 1.0 was taken out from the repository in favour of OpenSSL 1.1.
patrolez commentedon May 22, 2020
@gitfool It looks like #1714 solves this issue. It is included in0.27-previewreleases in NuGet.Nope. It is not. Publishing packages still bundles wrong library - linked against OpenSSL 1.0 instead of 1.1 if target is
linux-x64.The solution is to target Ubuntu bionic runtime:
dotnet publish -r ubuntu.18.04-x64 -c Release /p:PublishSingleFile=true /p:PublishTrimmed=truednperfors commentedon Dec 11, 2020
Any change that this bug will be fixed soon? Github will move their default linux agents to Ubuntu 20.04 which means that a lot of people will get breaking builds soon.
ethomson commentedon Dec 11, 2020
libssl is no longer a dependency for the LibGit2Sharp builds, thanks to #1618. Upgrading to the latest nuget package will fix this. https://www.nuget.org/packages/LibGit2Sharp/0.27.0-preview-0096
Fix error in Elm Editor when running in Docker 🧹🐛
build: upgrade libgit2sharp to fix ubuntu v20 native lib issue
Upgrades LibGit2Sharp to latest preview to fix issue preventing it to…