scallion
scallion copied to clipboard
`libssl1.0-dev` doesn't exist on Ubuntu 19.10
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?
same issue on Debian 10 (Buster).
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
Leaving this open so people find it if they glance at issues.
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..
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