GLIBCXX_3.4.20 not found, how to fix this error?

I was having the same problem when trying to run other program, and found a solution onStackOverflow.

Basically, just do the following commands: Firstly, install:

sudo apt-get install libstdc++6

This should already be installed by default, but try it anyway. If it doesn't solve it, just do the following:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test 
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade


你可能感兴趣的:(GLIBCXX_3.4.20 not found, how to fix this error?)