typegoose / mongodb-memory-server

Manage & spin up mongodb server binaries with zero(or slight) configuration for tests.
https://typegoose.github.io/mongodb-memory-server/
MIT License
2.57k stars 185 forks source link

Can't launch on Debian 12 (bookworm) : missing or cannot be opened: "libcrypto.so.1.1" #797

Closed BenjD90 closed 5 months ago

BenjD90 commented 1 year ago

Versions

What is the Problem?

The mongodb can't be launched :

Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"

Code Example

await MongoMemoryServer.create({
    binary: {
        version: '6.0.9',
    },
});

Do you know why it happenes?

This seems related to this issue :shrug: https://github.com/nodejs/docker-node/issues/1915

Thanks in advance for any idea how I can fix this, may-be the same way it is done with Fedora ?

hasezoey commented 1 year ago

there are currently no binaries directly for debian 12, highest mongodb builds for is debian 11, i dont know which version changed openssl (i think debian 11?), so your options are:

BenjD90 commented 1 year ago

Thanks, I think I'll have to switch to MongoDB 7 if I want to keep using Debian 12 : https://www.mongodb.com/docs/v6.0/administration/production-notes/#platform-support-matrix

image

hasezoey commented 5 months ago

debian 12 is now supported, thanks to #858, released in 9.1.8

just as a note, 7.0.3 binary is available and downloadable, even if not listed on the archive.