Ubuntu 错误提示
arm-linux-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
解决办法
安装相应的库。
- 安装指令
sudo apt install lib32stdc++6
- 安装过程
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
gcc-8-base lib32gcc1 libatomic1 libcc1-0 libgcc1 libgomp1 libitm1 liblsan0
libmpx2 libquadmath0 libstdc++6 libtsan0
The following NEW packages will be installed:
lib32gcc1 lib32stdc++6
The following packages will be upgraded:
gcc-8-base libatomic1 libcc1-0 libgcc1 libgomp1 libitm1 liblsan0 libmpx2
libquadmath0 libstdc++6 libtsan0
11 upgraded, 2 newly installed, 0 to remove and 568 not upgraded.
Need to get 463 kB/1,642 kB of archives.
- 安装完成