Install libstdc++.so.5 on Ubuntu 10.04 64-bit

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!

5 thoughts on “Install libstdc++.so.5 on Ubuntu 10.04 64-bit

  1. Daniele

    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!!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>