ephemeral-mongo: Doesn't work on Linux systems without OpenSSL 1.1
OpenSSL 1.1 is going EOL in September and is being gradually removed from Linux systems:
- Ubuntu 22.04 only has OpenSSL 3
- Gentoo switched to OpenSSL 3 last week
- Arch switched to OpenSSL 3 in Nov 2022
mongod bundled in EphemeralMongo simply doesn’t start on such systems:
$ ~/.nuget/packages/ephemeralmongo6.runtime.linux-x64/1.1.0/runtimes/linux-x64/native/mongodb/bin/mongod
/home/marat/.nuget/packages/ephemeralmongo6.runtime.linux-x64/1.1.0/runtimes/linux-x64/native/mongodb/bin/mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 15 (4 by maintainers)
Thank you for your feedback, I really appreciate it. I anticipate this issue may become more frequent in the future as the adoption of Ubuntu 22.04 increases. That’s why I am considering creating a new package targeting the
ubuntu.22.04-x64.NET runtime identifier (docs, source).The new package would be named
EphemeralMongo6.runtime.ubuntu.22.04-x64. It won’t be a dependency of the all-in-one metapackageEphemeralMongo6. Developers will need to manually install this new package along withEphemeralMongo.Core.I’m not a Linux expert, so I don’t what are the possible side effects, but if I run these commands than it works:
This is the source.