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
When trying to run AltCover version '8.9.3' on ubuntu 22.04 I get the following error: No usable version of libssl was found
I have both libssl3 and libssl-dev installed, but AltCover does not seem to recognize or work with them.
Logs:
$ dotnet tool install --global altcover.global
Tool 'altcover.global' was reinstalled with the stable version (version '8.9.3').
libssl-dev is already the newest version (3.0.2-0ubuntu1.18).
libssl3 is already the newest version (3.0.2-0ubuntu1.18).
$ altcover
No usable version of libssl was found
Aborted
The text was updated successfully, but these errors were encountered:
The failure is happening sufficiently early that it looks like a dotnet runtime issue, before the tool itself actually starts running.
AltCover (and its dependencies) are pure dotnet, with no instances of P/Invoke (no references to the DllImport attribute in the IL for the dependencies), so any invocations of libssl, for whatever reason (hash functions, perhaps, or maybe for sourcelink validation?), will have to be through the dotnet runtime.
The tool itself targets NetCoreApp2.1 with roll-forwards, and the libraries are all netstandard2.0 or earlier as it's intended to be compatible with pretty much any supported environment, and many outdated ones as well. It's not looking for a particular version of the runtime and its dependencies, especially not "one that's more recent than whatever you have".
When trying to run AltCover version '8.9.3' on ubuntu 22.04 I get the following error:
No usable version of libssl was found
I have both
libssl3
andlibssl-dev
installed, but AltCover does not seem to recognize or work with them.Logs:
The text was updated successfully, but these errors were encountered: