Install libstdc++.so.5 on Ubuntu 10.10 or 10.04 or 9.10
- Friday, October 23, 2009, 11:10
- Linux
- Views: 48,363
- 21 comments
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.debdpkg-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/lib32sudo ln -s libstdc++.so.5.0.7 libstdc++.so.5
This should get you going.
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
21 Comments on “Install libstdc++.so.5 on Ubuntu 10.10 or 10.04 or 9.10”
Trackbacks
Write a Comment
Gravatars are small images that can show your personality. You can get your gravatar for free today!






I had the same problem with Intel C++ Compiler. Your solution worked by me.
Thanks,
Like or Dislike:
1
0
[Reply]
Great trick. Just what I needed to get Dell OpenManage Server Administrator working on 10.04.
A.
Like or Dislike:
0
0
[Reply]
Thanks
Like or Dislike:
2
0
[Reply]
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:
2
0
[Reply]
Had the same problem installing Kerio Connect. Thanks!
Like or Dislike:
1
0
[Reply]
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:
1
0
[Reply]
@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:
0
0
[Reply]
Same solution helps with some parts of Xilinx ISE 12.2 tools.
Like or Dislike:
1
0
[Reply]
Thank you..
Like or Dislike:
0
0
[Reply]
I had to install OpenSceneryX on Mint 9 64-bit. Worked like a charm! Thanks!
Like or Dislike:
2
0
[Reply]
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:
0
0
[Reply]
Thank you!
Got me going with Ubuntu 10.04 and (horrible, disgusting) Oracle Calendar.
Like or Dislike:
1
0
[Reply]
Thanks a lot man.
Like or Dislike:
0
0
[Reply]
Thank you very much.
Like or Dislike:
1
0
[Reply]
Worked like a charm thanks!
Like or Dislike:
1
0
[Reply]
Worked perfectly…thanks for the help!!
Like or Dislike:
1
0
[Reply]
New Jaunty link at http://packages.debian.org/lenny/i386/libstdc++5/download.
Like or Dislike:
2
0
[Reply]
lifehacker Reply:
January 2nd, 2011 at 12:21 pm
@Mikey Bunny, @Mikey Bunny, Thanks for the updated link. I updated the post to include it.
Like or Dislike:
0
0
[Reply]
Thanks so much!
Funcionou perfeitamente, obrigada por compartilhar.
Já tinha desistido dessas dependências.
Like or Dislike:
0
0
[Reply]