Libstdc++.so.6:cannot open Shared object file:no such file or directory

Source: Internet
Author: User
Tags aliyun

Run on the website
/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. Then install 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. There is no Yum source, and there are many ways to do it.
Yum Whatprovides libstdc++.so.6
Yum Install libstdc++.so.6
Yum List Available | grep libstdc++

3. Finally in Http://rpmfind.net/linux/rpm2html/search.php?query=libgcc_s.so.1&submit=Search+...&system=centos &arch=
Find Library Libstdc++.so.6
libstdc++-4.1.2-55.el5.i386.rpm
But install RPM-IVH libstdc++-4.1.2-55.el5.i386.rpm, error
[Email protected] ~]# 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. So again in http://rpmfind.net/linux/rpm2html/search.php?query=libgcc_s.so.1&submit=Search+...&system= Centos&arch=
Find libgcc-4.1.2-55.el5.i386.rpm
Install the RPM-IVH libstdc++-4.1.2-55.el5.i386.rpm, and then install the RPM-IVH libgcc-4.1.2-55.el5.i386.rpm

All are done

Libstdc++.so.6:cannot open Shared object file:no such file or directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.