scallion icon indicating copy to clipboard operation
scallion copied to clipboard

`libssl1.0-dev` doesn't exist on Ubuntu 19.10

Open Avamander opened this issue 5 years ago • 5 comments

Reading the issues about this stacktrace:

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'OpenSSL.Core.Native' threw an exception. ---> System.EntryPointNotFoundException: ERR_load_crypto_strings
  at (wrapper managed-to-native) OpenSSL.Core.Native.ERR_load_crypto_strings()
  at OpenSSL.Core.Native..cctor () [0x00080] in <38c0e4f76c27429fb3b78d7e3d807f68>:0 
   --- End of inner exception stack trace ---
  at OpenSSL.Core.ThreadInitialization.InitializeThreads () [0x00001] in <38c0e4f76c27429fb3b78d7e3d807f68>:0 
  at scallion.Program.Main (System.String[] args) [0x00008] in <1229c4d7c88140dba1cf0e6bed5a8c08>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'OpenSSL.Core.Native' threw an exception. ---> System.EntryPointNotFoundException: ERR_load_crypto_strings
  at (wrapper managed-to-native) OpenSSL.Core.Native.ERR_load_crypto_strings()
  at OpenSSL.Core.Native..cctor () [0x00080] in <38c0e4f76c27429fb3b78d7e3d807f68>:0 
   --- End of inner exception stack trace ---
  at OpenSSL.Core.ThreadInitialization.InitializeThreads () [0x00001] in <38c0e4f76c27429fb3b78d7e3d807f68>:0 
  at scallion.Program.Main (System.String[] args) [0x00008] in <1229c4d7c88140dba1cf0e6bed5a8c08>:0 

I gathered that libssl1.0-dev is required but newer Ubuntu releases don't provide it at all. Is there a solution to that problem?

Avamander avatar Nov 30 '19 03:11 Avamander

same issue on Debian 10 (Buster).

dwjorgeb avatar Dec 04 '19 18:12 dwjorgeb

We're linked against an outdated and likely broken version of OpenSSL. Newer versions substantially changed the APIs we call for BigNumber operations, and frankly I don't have time to fix it.

However, all hope is not lost. I run by using Docker and docker-nvidia with the Dockerfile contributed by nexus166:

# docker build -t scallion -f Dockerfile.nvidia .
# docker run --runtime=nvidia -ti --rm scallion --listdevices

lachesis avatar Dec 21 '19 23:12 lachesis

Leaving this open so people find it if they glance at issues.

lachesis avatar Dec 21 '19 23:12 lachesis

We're linked against an outdated and likely broken version of OpenSSL. Newer versions substantially changed the APIs we call for BigNumber operations, and frankly I don't have time to fix it.

However, all hope is not lost. I run by using Docker and docker-nvidia with the Dockerfile contributed by nexus166:

# docker build -t scallion -f Dockerfile.nvidia .
# docker run --runtime=nvidia -ti --rm scallion --listdevices

This unfortunately doesn't work for me, as my GPU is not Nvidia..

dwjorgeb avatar Dec 22 '19 09:12 dwjorgeb

This unfortunately doesn't work for me, as my GPU is not Nvidia..

..And I can confirm the build does not work with an AMD Radeon RX 5700 XT. But at least I learned how to do a Docker build and then delete Docker images on Ubuntu 20.10. Turns out you need the entire git clone and not just the Dockerfile.nvidia file, also that dangling period at the end of the first docker build line needs to be in there. I wonder how much of a $$donation would be needed to get that OpenSSL API working...:P Sandy

sandyCH avatar Nov 09 '20 01:11 sandyCH