rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法

  不多说,直接上干货!

问题详情

rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法

[root@bigdatamaster app]# rpm -qa | grep gcc
rpm: error while loading shared libraries: libgcc_s.so.: cannot open shared object file: No such file or directory

问题的原因

rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法

[root@bigdatamaster app]# rpm -qa | grep gcc
libgcc-4.4.-.el6.x86_64
[root@bigdatamaster app]# rpm -e --nodeps libgcc-4.4.-.el6.x86_64

解决办法

  乱删rpm导致再次安装包时出现 error while loading shared libraries: libgcc_s.so.1问题  (不太好)

error while loading shared libraries: xxx.so.x"错误的原因和解决办法  (不太好)

  centos 64误删libgcc  (还是这个方法好)

  http://blog.sina.com.cn/s/blog_48efd77e0101epjr.html

rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法

rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法

libcom_err.so.          libgcc_s.so.                       libiptc.so.-1.4.          libnss_compat.so.      libreadline.so.             xtables
libcom_err.so.2.1 libgcrypt.so. libiw.so. libnss_dns-2.12.so libreadline.so.6.0
libcrypt-2.12.so libgcrypt.so.11.5. libk5crypto.so. libnss_dns.so. libresolv-2.12.so
libcryptsetup.so. libgio-2.0.so. libk5crypto.so.3.1 libnss_files-2.12.so libresolv.so.
libcryptsetup.so.1.1. libgio-2.0.so.0.2600. libkeyutils.so. libnss_files.so. librt-2.12.so
[root@bigdataslave1 lib64]# scp /lib64/libgcc_s.so.1 192.168.80.10:/lib64/
The authenticity of host '192.168.80.10 (192.168.80.10)' can't be established.
RSA key fingerprint is ba:0f:0e::8a:c8:9c:6e:ce:f0::de:9a::6e:8c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.80.10' (RSA) to the list of known hosts.
root@192.168.80.10's password:
libgcc_s.so. % 91KB .1KB/s :
[root@bigdataslave1 lib64]#

  注意,192.168.80.10是我丢失的那台机器,即bigdatamaster。

  因为, 我这里是大数据的机器,机器之间已经做过ssh通信。

rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法

欢迎大家,加入我的微信公众号:大数据躺过的坑        人工智能躺过的坑
 
 
 

同时,大家可以关注我的个人博客

   http://www.cnblogs.com/zlslch/   和     http://www.cnblogs.com/lchzls/      http://www.cnblogs.com/sunnyDream/   

   详情请见:http://www.cnblogs.com/zlslch/p/7473861.html

  人生苦短,我愿分享。本公众号将秉持活到老学到老学习无休止的交流分享开源精神,汇聚于互联网和个人学习工作的精华干货知识,一切来于互联网,反馈回互联网。
  目前研究领域:大数据、机器学习、深度学习、人工智能、数据挖掘、数据分析。 语言涉及:Java、Scala、Python、Shell、Linux等 。同时还涉及平常所使用的手机、电脑和互联网上的使用技巧、问题和实用软件。 只要你一直关注和呆在群里,每天必须有收获

对应本平台的讨论和答疑QQ群:大数据和人工智能躺过的坑(总群)(161156071)rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法 

rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法

rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法

rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory解决办法

上一篇:error while loading shared libraries:libmysqlclient.so.18 错误


下一篇:error while loading shared libraries: xxx.so.x"错误的原因和解决办法