Fazal
Fazal

Reputation: 340

MongoDB Compass Error in Ubuntu 20.04 LTS

Running compass stop and now it's giving below error on Ubuntu 20.04

mongodb-compass: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory

I uninstall and then install the error is still the same. even I tried the old version too. I searched and found this link but it does not work for me.

SS of error

Upvotes: 4

Views: 474

Answers (1)

CyberT33N
CyberT33N

Reputation: 134

  • If you get error libffmpeg.so: cannot open shared object file: No such file or directory try to download the binaries
    • https://github.com/mongodb-js/compass/releases/download/v1.43.4/mongodb-compass-1.43.4-linux-x64.tar.gz
      • Then move it to your desired location sudo cp -r '/home/userName/Downloads/tmp/MongoDB Compass-linux-x64' '/opt/MongoDB Compass-linux-x64' and execute it with the --no-sandbox flag '/opt/MongoDB Compass-linux-x64/MongoDB Compass' --no-sandbox . The problem is that mongodb-compass is build with electron which is using chromium inside which is using its own sandbox which is for whatever reason not working. I guess for a solid fix you would have to create correct permissions.

Upvotes: 0

Related Questions