Install libstdc++.so.5 on Ubuntu 10.10 or 10.04 or 9.10

1 Star2 Stars3 Stars4 Stars5 Stars (10 votes, average: 5.00 out of 5)
Loading ... Loading ...

If you try installing Intel Fortran Compiler on Ubuntu 10.10 Maverick Meerkat or 10.04 Lucid Lynx or Karmic Koala, it is going to throw the error:
error while loading shared libraries: libstdc++.so.5

The original libstdc++5 package is no longer available with the Ubuntu 9.10 repos. So for 32 bit system you would have to get it from Debian Repository.

Install it and you are good to go if you are using the 32 bit OS.

For 64 bit it is a bit complicated, and you have to follow some additional steps first install libstdc++5 64bit and then do the following (the remaining steps might be skipped, for Maverick Meerkat I only had to install the file linked above and everything worked fine, so I skipped remaining steps, check this before attempting the remaining steps):

wget http://security.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/ia32-libs_2.7ubuntu17.1_amd64.deb
dpkg-deb -x ia32-libs_2.7ubuntu17.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

This should get you going.

If you found this useful, please consider leaving a comment or liking us on Facebook or following us on Twitter or subscribing to the RSS feed to have future articles delivered to your feed reader.
Tags:

You might also like

Install libstdc++.so.5 on Ubuntu 11.04 Natty Narwhal If you try...
Enable Encrypted DVD Playback in Ubuntu 10.10 Maverick Meerkat Ubuntu doesn't...
Rar Unrar Support for Ubuntu 10.10 Maverick Meerkat The archive...
“no new release found” While Upgrading from Lucid Lynx If you are...

About the Author

has written 886 posts on this blog.

Meditating towards his "nerdvana", lifehacker is a teacher by the day and a nerdy blogger by the night. He lives to learn and yearns to learn living.

21 Comments on “Install libstdc++.so.5 on Ubuntu 10.10 or 10.04 or 9.10”

  • Tolga wrote on 7 May, 2010, 11:53

    I had the same problem with Intel C++ Compiler. Your solution worked by me.

    Thanks,

    Like or Dislike: Thumb up 1 Thumb down 0

  • Andrew wrote on 26 May, 2010, 10:37

    Great trick. Just what I needed to get Dell OpenManage Server Administrator working on 10.04.

    A.

    Like or Dislike: Thumb up 0 Thumb down 0

  • Alex wrote on 15 June, 2010, 14:10

    Thanks

    Like or Dislike: Thumb up 2 Thumb down 0

  • Nick wrote on 23 June, 2010, 15:50

    I got IBM Rational Application Developer 7.5 broken because of this dependency. This solution worked like a charm. My biggest thanks

    Like or Dislike: Thumb up 2 Thumb down 0

  • Mike wrote on 24 June, 2010, 19:03

    Had the same problem installing Kerio Connect. Thanks!

    Like or Dislike: Thumb up 1 Thumb down 0

  • Alex wrote on 14 July, 2010, 9:45

    Hi,

    You also need to run

    /sbin/ldconfig -v

    to rebuild the cache in order for the installer to find the library

    Like or Dislike: Thumb up 1 Thumb down 0

  • lifehacker wrote on 14 July, 2010, 10:58

    @Alex
    I am surprised that you had to. As I have followed these steps several times on different machines without fail. But whatever works for you.

    Like or Dislike: Thumb up 0 Thumb down 0

  • Eliot wrote on 26 July, 2010, 20:26

    Same solution helps with some parts of Xilinx ISE 12.2 tools.

    Like or Dislike: Thumb up 1 Thumb down 0

  • Wazzup wrote on 9 August, 2010, 10:13

    Thank you..

    Like or Dislike: Thumb up 0 Thumb down 0

  • Matthew wrote on 24 August, 2010, 18:57

    I had to install OpenSceneryX on Mint 9 64-bit. Worked like a charm! Thanks!

    Like or Dislike: Thumb up 2 Thumb down 0

  • Jorge wrote on 25 August, 2010, 17:02

    Thank you! I needed this for a Firebird RDBMS install on Ubuntu Server 10.04 and you saved my life. Great tip.

    Like or Dislike: Thumb up 0 Thumb down 0

  • Hoss wrote on 30 August, 2010, 17:21

    Thank you! :-) Got me going with Ubuntu 10.04 and (horrible, disgusting) Oracle Calendar.

    Like or Dislike: Thumb up 1 Thumb down 0

  • Aaa wrote on 13 September, 2010, 13:30

    Thanks a lot man.

    Like or Dislike: Thumb up 0 Thumb down 0

  • tiu wrote on 15 September, 2010, 14:24

    Thank you very much.

    Like or Dislike: Thumb up 1 Thumb down 0

  • Jackie wrote on 20 September, 2010, 14:04

    Worked like a charm thanks!

    Like or Dislike: Thumb up 1 Thumb down 0

  • Aaron wrote on 8 November, 2010, 15:43

    Worked perfectly…thanks for the help!!

    Like or Dislike: Thumb up 1 Thumb down 0

  • Mikey Bunny wrote on 1 January, 2011, 11:38

    New Jaunty link at http://packages.debian.org/lenny/i386/libstdc++5/download.

    Like or Dislike: Thumb up 2 Thumb down 0

  • lifehacker wrote on 2 January, 2011, 12:21

    @Mikey Bunny, @Mikey Bunny, Thanks for the updated link. I updated the post to include it.

    Like or Dislike: Thumb up 0 Thumb down 0

  • Dalila wrote on 28 January, 2011, 13:38

    Thanks so much!

    Funcionou perfeitamente, obrigada por compartilhar.
    Já tinha desistido dessas dependências.

    Like or Dislike: Thumb up 0 Thumb down 0

Trackbacks

  1. Install libstdc++.so.5 on Ubuntu 10.04 or 9.10 « dontdrinkandroot
  2. Confluence: AltiCaptor

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!

*

Copyright © 2014 Hack Your Life!. All rights reserved.
Proudly powered by WordPress. Developed by Deluxe Themes