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.el6 libstdc++-devel.i686 4.4.4-13.el6
After you found the packages, install them!
yum install libstdc++.i686
yum install libstdc++-devel.i686