-
-
Notifications
You must be signed in to change notification settings - Fork 185
Support Ubuntu 22.04 properly (Error: libcrypto.so.1.1 missing
)
#732
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
Comments
known issue, nothing MMS can do about - there are just no Ubuntu 2204 binaries yet, so MMS falls back to 2004 binaries, but those require OpenSSL 1.1, and Ubuntu 2204 only ships 3.x, so your options are:
see https://jira.mongodb.org/browse/SERVER-62300 *1 somehow in ubuntu APT archives, there are mongodb builds for ubuntu 2204, but no "official" mongodb builds (Official builds can be found here) |
libcrypto.so.1.1 missing
)
See also: shelfio/jest-mongodb#408 I have mongodb running all over the place on 22.04 with docker. Would it be possible to substitute the binary download for a docker command? In my experience, mongodb is much more focused on their Atlas platform than the community editions, so this might be one of many future issues like this. I spent hours on a workaround but came up empty. I'm probably not the first. I saw someone else suggest packaging mongo with the library in a snap or appimage, but I don't know how to do that (or if it would work) Here is a reproduction:
This will come at the issue through jest-mongo |
MMS is currently not build to use anything other than the direct binary, you currently have 2 options:
i dont think MMS will add the ability to use anything other than the direct binary, though you could also just run MMS inside a container and let it use a binary there |
update, there is now mongodb 6.0.4, which has a build for ubuntu 2204 (though that version is seemingly not documented yet) |
🎉 This issue has been resolved in version 8.11.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Note: for now it still required to set a custom mongodb version with at least |
if someone needs 6.0.3 for any weird reason, i found that the .deb download contains a version which should work #686 (comment) |
typegoose/mongodb-memory-server#732 Docker is not idempotent.
Still facing the problem in GitLab
#480 (comment) fixed it for me for the time being. |
docker image there are currently no native binaries for debian 12, last being debian 11, i assume debian 12 changes the libcrypto version like ubuntu 22 did, maybe try to use the ubuntu 22 binary via config option |
Thanks, @hasezoey. I changed to |
This error is occurring for me too - trying to upgrade from Node.js v18.18.2 to v20.
does anyone have any ideas how to resolve this? |
this issue has nothing to do with a nodejs version upgrade, if you have such issues, please open a new issue |
Many thanks for the quick reply. So it turns out the problem was somewhere else (CI) - the search results led me here though. |
Hey, export MONGOMS_DOWNLOAD_URL=https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2204-8.0.4.tgz
export MONGOMS_VERSION=8.0.4 rm -rf ~/.cache/mongodb-binaries Restart your test and wait for it to download the correct version. |
Versions
package: mongo-memory-server
What is the Problem?
When running 'pnpm test', following error occured:
Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
Code Example
Debug Output
Debug Output
Do you know why it happenes?
no
The text was updated successfully, but these errors were encountered: