CentOS6.5 缺少 libstdc++.so.6(GLIBCXX_3.4.15)

libstdc++-4.8.2-16.el7 下载地址:

http://down.51cto.com/data/1882588 



[root@localhost kindit]#

[root@localhost kindit]# rpm -qa | grep libstdc

libstdc++-4.4.7-4.el6.i686

[root@localhost kindit]#

[root@localhost kindit]#

[root@localhost kindit]# cd /home/kindit/Packages/packages-centos7

[root@localhost packages-centos7]#

[root@localhost packages-centos7]# ls | grep  firefox-24.5.0-1.el7.centos.i686.rpm

firefox-24.5.0-1.el7.centos.i686.rpm

[root@localhost packages-centos7]#

[root@localhost packages-centos7]# rpm -ivh firefox-24.5.0-1.el7.centos.i686.rpm

warning: firefox-24.5.0-1.el7.centos.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY

error: Failed dependencies:

        libvpx >= 1.0.0 is needed by firefox-24.5.0-1.el7.centos.i686

        sqlite >= 3.7.17 is needed by firefox-24.5.0-1.el7.centos.i686

        libc.so.6(GLIBC_2.15) is needed by firefox-24.5.0-1.el7.centos.i686

        libc.so.6(GLIBC_2.17) is needed by firefox-24.5.0-1.el7.centos.i686

        libhunspell-1.3.so.0 is needed by firefox-24.5.0-1.el7.centos.i686

        libstdc++.so.6(GLIBCXX_3.4.15) is needed by firefox-24.5.0-1.el7.centos.i686

        libvpx.so.1 is needed by firefox-24.5.0-1.el7.centos.i686

[root@localhost packages-centos7]#

[root@localhost packages-centos7]# cd

[root@localhost ~]#

[root@localhost ~]# strings /usr/lib/libstdc++.so.6

libstdc++.so.6       libstdc++.so.6.0.13

[root@localhost ~]#

[root@localhost ~]# strings /usr/lib/libstdc++.so.6 | grep GLIBCXX

GLIBCXX_3.4

GLIBCXX_3.4.1

GLIBCXX_3.4.2

GLIBCXX_3.4.3

GLIBCXX_3.4.4

GLIBCXX_3.4.5

GLIBCXX_3.4.6

GLIBCXX_3.4.7

GLIBCXX_3.4.8

GLIBCXX_3.4.9

GLIBCXX_3.4.10

GLIBCXX_3.4.11

GLIBCXX_3.4.12

GLIBCXX_3.4.13

GLIBCXX_FORCE_NEW

GLIBCXX_DEBUG_MESSAGE_LENGTH

[root@localhost ~]#

[root@localhost ~]# cd -

/home/kindit/Packages/packages-centos7

[root@localhost packages-centos7]#

[root@localhost packages-centos7]# rpm -ivh libstdc++-4.8.2-16.el7.i686.rpm  --replacefiles

warning: libstdc++-4.8.2-16.el7.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY

Preparing...                ########################################### [100%]

   1:libstdc++              ########################################### [100%]

[root@localhost packages-centos7]#

[root@localhost packages-centos7]#

[root@localhost packages-centos7]# cd

[root@localhost ~]#

[root@localhost ~]# ls /usr/lib/ | grep libstdc++

libstdc++.so.6

libstdc++.so.6.0.13

libstdc++.so.6.0.19

[root@localhost ~]#

[root@localhost ~]# rm /usr/lib/libstdc++.so.6

rm:是否删除符号链接 "/usr/lib/libstdc++.so.6"?y

[root@localhost ~]#

[root@localhost ~]# ls /usr/lib/ | grep libstdc++

libstdc++.so.6.0.13

libstdc++.so.6.0.19

[root@localhost ~]#

[root@localhost ~]# ln /usr/lib/libstdc++.so.6.0.19 /usr/lib/libstdc++.so.6

[root@localhost ~]#

[root@localhost ~]# ls /usr/lib/ | grep libstdc++

libstdc++.so.6

libstdc++.so.6.0.13

libstdc++.so.6.0.19

[root@localhost ~]#

[root@localhost ~]# strings /usr/lib/libstdc++.so.6 | grep GLIBCXX

GLIBCXX_3.4

GLIBCXX_3.4.1

GLIBCXX_3.4.2

GLIBCXX_3.4.3

GLIBCXX_3.4.4

GLIBCXX_3.4.5

GLIBCXX_3.4.6

GLIBCXX_3.4.7

GLIBCXX_3.4.8

GLIBCXX_3.4.9

GLIBCXX_3.4.10

GLIBCXX_3.4.11

GLIBCXX_3.4.12

GLIBCXX_3.4.13

GLIBCXX_3.4.14

GLIBCXX_3.4.15

GLIBCXX_3.4.16

GLIBCXX_3.4.17

GLIBCXX_3.4.18

GLIBCXX_3.4.19

GLIBCXX_DEBUG_MESSAGE_LENGTH

[root@localhost ~]#

[root@localhost ~]#

[root@localhost ~]# rpm -qa | grep libstdc++

libstdc++-4.4.7-4.el6.i686

libstdc++-4.8.2-16.el7.i686

[root@localhost ~]#

[root@localhost ~]#

你可能感兴趣的:(centos6.5, )