解决CentOS缺少共享库

# ./aapt dump bading ./tmp/app_xxxx.apk
./appt:error while loading shared libraries: libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
#发现却少一个共享库

 查找这个库是由那个包产生的:

# yum whatprovides libstdc++.so.6
...
...
libstdc++-4.8.5-16.el7.ib86:GUN Standard C++ library
Repo    : base
Matched from:
Provides     : LIBSTDC++.so.6
#可以查到是由libstdc++-4.8.5-16.el7.ib86这个包生成的这个库
所以可以把这个包装上,问题解决!
# yum install libstdc++-4.8.5-16.el7.i686
原文地址:https://www.cnblogs.com/bass6/p/7601301.html