I want to run cmake for a program,

[build]$ cmake ../
cmake: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by cmake)

I have this error, how i can fix it? I use from Archlinux


Upgrade gcc-libs & it's dependencies (libtool & gcc) to most recent version and the issue will be solved. Or you can simply execute following command:

sudo pacman -S libtool gcc gcc-libs

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.