Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
BenjD90 opened this issue Sep 11, 2023 · 3 comments
Labels
Distribution support Add / modify an (linux) distribution Module: Version-String Generation This problem is because of the Version-String Generation (MongoBinaryDownloadUrl)

Comments

@BenjD90
Copy link

BenjD90 commented Sep 11, 2023

Versions

  • NodeJS: 16.20.2
  • mongodb-memory-server-*: 8.15.1
  • mongodb(the binary version): 6.0.9
  • mongodb(the js package): 4.17.1 (the one used by mongodb-memory-server)
  • system: Linux, in a docker image based on node:16.20.2-bookworm
    package: mongo-memory-server

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 🤷 nodejs/docker-node#1915

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

@BenjD90 BenjD90 added the bug label Sep 11, 2023
@hasezoey
Copy link
Member

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:

@hasezoey hasezoey added Module: Version-String Generation This problem is because of the Version-String Generation (MongoBinaryDownloadUrl) Distribution support Add / modify an (linux) distribution and removed bug labels Sep 11, 2023
@BenjD90
Copy link
Author

BenjD90 commented Sep 12, 2023

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Distribution support Add / modify an (linux) distribution Module: Version-String Generation This problem is because of the Version-String Generation (MongoBinaryDownloadUrl)
Projects
None yet
Development

No branches or pull requests

2 participants