RHEL6 64 bit with libstdc++ 32 bit

来源:互联网 发布:种常用的排序算法 编辑:程序博客网 时间:2024/06/05 18:18

error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory错误的解决方法

You've just migrated to RHEL6 or are trying to run 32 bit software (quickbooks for example) and you are getting some strange dependency error saying something like:

" libstdc++.so.6: cannot open shared object file: No such file or directory"

Well, RHEL6 by default comes with libstdc++ but with the 64 bit libraries. To install the 32 libraries you can do the following while logged in as root.

 yum list available | grep libstdc++ 


Specifically you want the following:

libstdc++.i686                      4.4.4-13.el6libstdc++-devel.i686                4.4.4-13.el6


After you found the packages, install them!

 yum install libstdc++.i686 
 yum install libstdc++-devel.i686 
原创粉丝点击