I recently got a new laptop and, as often in that case, had to install a fresh Ubuntu 10.04 64-bit (to replace a Windows XP) and all the software and tools I need as a developer.
One of the software I had to install was the Tibco Enterprise Messaging Service (an implementation of the Java Message Service, JMS). The installation went fine (I had to deactivate all the visual effects in order to see the content of the dialog boxes though – under System > Preferences > Appearance) but I had some troubles starting EMS.
/opt/tibco/ems/5.0/bin/tibemsd
/opt/tibco/ems/5.0/bin/tibemsd: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
EMS requires libstdc++.so.5 but only libstdc++.so.6 is nowadays bundled with Ubuntu. After some Googling I finally came across a solution that worked.
wget http://security.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.7ubuntu6.1_amd64.deb dpkg-deb -x ia32-libs_2.7ubuntu6.1_amd64.deb ia32-libs sudo cp ia32-libs/usr/lib32/libstdc++.so.5.0.7 /usr/lib32/ cd /usr/lib32 sudo ln -s libstdc++.so.5.0.7 libstdc++.so.5
If you have another solution that you’d like to share, please leave a comment!
Hi man!
Thanks for this article, i need to install libstdc++.so.5 too but looks like the file ia32-libs_2.7ubuntu6.1_amd64.deb has been removed, and other versions (ia32-libs_2.7ubuntu17.1_amd64.deb and ia32-libs_2.7ubuntu26.2_amd64.deb) doesnt contain it anymore.. could you please put it on dropbox (or another service like it) and publish the public link?
Would be really really appreciated!!
If you still need it, you can get one here:
http://old-releases.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.7ubuntu6.1_amd64.deb
Hi,
You can try links below.
http://packages.debian.org/squeeze/i386/libstdc++5/download
Then
$cp libstdc++.so.5.0.7 /usr/lib32/
$sudo ln -s libstdc++.so.5.0.7 libstdc++.so.5
All you need to do is:
yum install compat-libstdc++-33.x86_64
thanks! but the link is out of date
if you still need it, this package works:
http://security.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.7ubuntu25_amd64.deb