在网站上上运行
/usr/apktool/aapt d badging /temp/2014/12/02/17/547d812953368677.apk
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
1. 于是安装libstdc++
yum install libstdc++-4.1.2-55.el5.i386
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* rpmforge: ftp.riken.jp
* updates: mirrors.aliyun.com
Excluding Packages in global exclude list
Finished
Setting up Install Process
No package libstdc++-4.1.2-55.el5.i386 available.
Nothing to do
2. 缺少yum源,再经过了,多种方法都不行。
yum whatprovides libstdc++.so.6
yum install libstdc++.so.6
yum list available | grep libstdc++
3. 最后在 http://rpmfind.net/linux/rpm2html/search.php?query=libgcc_s.so.1&submit=Search+...&system=centos&arch=
找到库 libstdc++.so.6
libstdc++-4.1.2-55.el5.i386.rpm
可是安装 rpm -ivh libstdc++-4.1.2-55.el5.i386.rpm,报错
[root@iZ2376acijuZ ~]# rpm -ivh libstdc++-4.1.2-55.el5.i386.rpm
error: Failed dependencies:
libgcc_s.so.1 is needed by libstdc++-4.1.2-55.el5.i386
libgcc_s.so.1(GCC_3.0) is needed by libstdc++-4.1.2-55.el5.i386
libgcc_s.so.1(GCC_3.3) is needed by libstdc++-4.1.2-55.el5.i386
libgcc_s.so.1(GCC_4.2.0) is needed by libstdc++-4.1.2-55.el5.i386
libgcc_s.so.1(GLIBC_2.0) is needed by libstdc++-4.1.2-55.el5.i386
4.
于是再次在 http://rpmfind.net/linux/rpm2html/search.php?query=libgcc_s.so.1&submit=Search+...&system=centos&arch=
找到 libgcc-4.1.2-55.el5.i386.rpm
安装 rpm -ivh libstdc++-4.1.2-55.el5.i386.rpm ,然后在安装rpm -ivh libgcc-4.1.2-55.el5.i386.rpm
all is done