0

When I run mongod (from version 2.8), I get the error:

mongod: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

I tried fixing this by running:

sudo ln -s /lib/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.10
sudo ln -s /lib/libssl.so.1.0.0 /usr/lib/libssl.so.10

And also:

sudo ln -s /lib/libcrypto.so.1.0.0 /lib/libcrypto.so.10
sudo ln -s /lib/libssl.so.1.0.0 /lib/libssl.so.10

But it doesn't work, I get the same error.

If I instead do:

sudo ln -s /lib/libssl.so.1.0.0 /lib64/libssl.so.10

I get the error:

mongod: error while loading shared libraries: libssl.so.10: wrong ELF class: ELFCLASS32

Does anyone know how to fix this?

Computer OS: openSUSE LEAP 42.1 KDE.

1 Answer 1

1

Solved by symlinking the 64 bit versions instead of 32 bit:

sudo ln -s /lib64/libcrypto.so.1.0.0 /lib64/libcrypto.so.10
sudo ln -s /lib64/libssl.so.1.0.0 /lib64/libssl.so.10
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.