ubuntu16.04 install the cross-compilation tool aarch64-linux-gnu-gcc/g++, and solve the problem of GLIBCXX_3.4.26' not found

Solve the problem of /lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found after installing the high version of gcc

My environment: use ubuntu16 cross-compilation environment aarch64-linux-gnu. The compiled file was put under rk3399 debian10, and the above problem was found. Reduce the aarch64-linux-gnu version on the virtual machine.

The operation is as follows.

sudo apt-get autoremove gcc-aarch64-linux-gnu

 

https://blog.csdn.net/weixin_39681471/article/details/110517917

Note: Check the version that can be installed through apt-cache search aarch64, and then select the appropriate installation.

sudo apt-get install gcc-8-aarch64-linux-gnu 

Guess you like

Origin blog.csdn.net/sunxiaopengsun/article/details/113857511