arm-linux-gnueabihf-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared ob

在使用4.4.3版本的编译器编译linux-2.22.6内核时出现libstd++6库找不到的问题!!!

通过上网搜索和尝试 原来是自己使用的64位版本的系统 中的libstdc++6与编译器版本中的库文件发生了冲突  编译器中是32位而系统中是64位。

解决办法:sudo apt-get install lib32stdc++6 安装32位lib库

posted @ 2020-09-08 14:26  张达嘛  阅读(832)  评论(0编辑  收藏  举报