错误: libstdc++.so.6: cannot open shared object file: No such file or directory
解壓完別人提供的openwrt代碼,編譯時(shí),出現(xiàn)如下錯(cuò)誤:
?
# configuration written to .config
#
mips-openwrt-linux-uclibc-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
mips-openwrt-linux-uclibc-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
mips-openwrt-linux-uclibc-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
mips-openwrt-linux-uclibc-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
mips-openwrt-linux-uclibc-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
? CHK???? include/generated/uapi/linux/version.h
? CHK???? include/generated/utsrelease.h
? CC????? kernel/bounds.s
mips-openwrt-linux-uclibc-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/home/xyz/home/XXX/XXX/trunk/yyy/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.10.49/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[6]: *** [kernel/bounds.s] Error 127
Makefile:835: recipe for target 'prepare0' failed
解決方案:
?
rm -rf tmp/
rm -rf staging_dir
rm -rf build_dir
make V=s
?
轉(zhuǎn)載于:https://www.cnblogs.com/rohens-hbg/p/5044231.html
總結(jié)
以上是生活随笔為你收集整理的错误: libstdc++.so.6: cannot open shared object file: No such file or directory的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 【linux】spinlock 的实现
- 下一篇: [转]ActionScript 3.0入