quamotion / dotnet-packaging

Extensions for the .NET Core CLI which help packaging and publishing .NET Core applications
MIT License
662 stars 86 forks source link

"nothing provides openssl-libs" when targeting SuSE Linux / openSuSE #174

Open claunia opened 4 years ago

claunia commented 4 years ago

See as in https://github.com/MicrosoftDocs/PowerShell-Docs/issues/2994

qmfrederik commented 3 years ago

The package name for SuSE/OpenSUSE appears to be "libopenssl1_1": https://github.com/dotnet/core-setup/blob/master/src/pkg/packaging/rpm/dotnet-runtime-deps-rpm_config_sles.12-x64.json#L33?

Should we change this:

      <RpmDotNetDependency Include="openssl-libs" Version="" />

to:

      <RpmDotNetDependency Include="(openssl-libs OR libopenssl1_1)" Version="" />

?

Terricide commented 3 years ago

I just downloaded the source code and made the change and it doesn't seem to work. Is it suppose to? Or was it just an idea?

Terricide commented 3 years ago

Nevermind I think I figured it out :) Needed to edit the file on my build machine

Terricide commented 3 years ago

Actually it doesn't work I get Problem: nothing providers (openssl-libs or libopenssl1_1) >= needed by x

I also tried uppercase OR and removing Version=""

jamsoft commented 5 months ago

Did anyone find a solution to this?