c++ - Version `GLIBCXX_3.4.22' not found -


i have built c++ app on vm ubuntu 16.04 on have installed g++ compiler 6.2.0 in order support c++14 features. when tried run on new clean vm 16.04 has default g++ 5.4.0 error /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `glibcxx_3.4.22' not found pops up.
i've noticed on vm updated compiler library libstdc++.so.6.0.22 has been installed. on clean vm i'd avoid update compiler tried install latest libstdc++6 package. library installed libstdc++.so.6.0.21 , problem persisted. how can install libstdc++.so.6.0.22 version?

you try use pinning make sure packages want updated newer version.

alternatively, compile program g++ 5.4, because according this page, compiler supports c++14, difference g++-6 defaults -std=c++14, whereas g++-5 have set language standard explicitly.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -