张维龙的个人博客

  • 网站首页
  • 生活随笔
  • 实用工具
  • 运维笔记
  • 数码设备
  • 兴趣爱好
  • 网络设备
  • 关于博主
  • RSS Feed
  • GitHub
  • Mail
  • WordPress

ld-linux.so.2的解决方法

  • 张维龙
  • 2013-01-19
  • 0

  这几天服务器系统从Centos 6.2 32Bit 升级到64Bit了,但是发现一些程序无法正常运行。会出现类似如下提示:

  bash: /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

  这是因为64位系统中安装了32位程序
  解决方法:

yum install glibc.i686

  重新安装以后还有如下类系错误

  error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
  
  再继续安装包

yum install libstdc++.so.6
© 2023 张维龙的个人博客
Theme by Wing
  • {{ item.name }}
  • {{ item.name }}