Git Product home page Git Product logo

Comments (9)

flrnd avatar flrnd commented on September 3, 2024 3

I had the same problem. In my case, this is what caused the problem:

./node_modules/.cache/mongodb-memory-server/mongodb-binaries/4.0.3/mongod 
./node_modules/.cache/mongodb-memory-server/mongodb-binaries/4.0.3/mongod: /lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./node_modules/.cache/mongodb-memory-server/mongodb-binaries/4.0.3/mongod)

Fixed it using the mongod binary installed in my system instead. Hope it helps!

from jest-mongodb.

saparicio avatar saparicio commented on September 3, 2024 3

I had the same problem. In my case, this is what caused the problem:

./node_modules/.cache/mongodb-memory-server/mongodb-binaries/4.0.3/mongod 
./node_modules/.cache/mongodb-memory-server/mongodb-binaries/4.0.3/mongod: /lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./node_modules/.cache/mongodb-memory-server/mongodb-binaries/4.0.3/mongod)

Fixed it using the mongod binary installed in my system instead. Hope it helps!

Awesome: installing libcurl3 fixed the problem. Thank you!

from jest-mongodb.

henriklundgren avatar henriklundgren commented on September 3, 2024 1

On Fedora I had to install compat-openssl10 that provides libcrypto.so.10.

from jest-mongodb.

saparicio avatar saparicio commented on September 3, 2024

I have the same problem

from jest-mongodb.

diglopes avatar diglopes commented on September 3, 2024

I have the same problem

from jest-mongodb.

raymundovr avatar raymundovr commented on September 3, 2024

Hi @flrnd,

I had the same problem. In my case, this is what caused the problem:

./node_modules/.cache/mongodb-memory-server/mongodb-binaries/4.0.3/mongod 
./node_modules/.cache/mongodb-memory-server/mongodb-binaries/4.0.3/mongod: /lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./node_modules/.cache/mongodb-memory-server/mongodb-binaries/4.0.3/mongod)

Fixed it using the mongod binary installed in my system instead. Hope it helps!

Thanks for the solution!
I've managed to replace the binary by creating a simlink with the one provided by Debian 10, is this the correct way?

from jest-mongodb.

vimrookie avatar vimrookie commented on September 3, 2024

I have the same problem yet

from jest-mongodb.

ntraut avatar ntraut commented on September 3, 2024

I have the same problem in github actions when running on Ubuntu 20 but not when running on Ubuntu 18.

from jest-mongodb.

 avatar commented on September 3, 2024

Had the same issue on Fedora. Installing compat-openssl10 solves it.
dnf install compat-openssl10

from jest-mongodb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.