I you end up seeing following error or something similar while running a non-ubuntu app:
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Well the reason is libstdc++.so.5 was removed in Ubuntu Karmic. Fear no follow the following simple steps to get your old application running again.
cd /tmp 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
~TH
Advertisement
Tags: GWT, libstdc++.so.5, Ubuntu
December 2, 2009 at 7:51 pm |
Yes, and the easy way is to download it from here: http://packages.debian.org/stable/base/libstdc++5
December 4, 2009 at 3:43 am |
Thanks… it worked well…
December 10, 2009 at 10:00 am |
Hey, thanks..
December 14, 2009 at 8:23 pm |
Thanks for the hint!
Now I can play Gridwars 2 on Karmic thanks to you
December 30, 2009 at 2:36 am |
Hey , thanks a lot u just gotta save my ass!!
cheers
January 1, 2010 at 10:25 pm |
[...] install libstdc++5 (9.10 has 6, not 5, and IMC’s JRE needs 5) by executing a set of commands as explained on http://bootstrapping.wordpress.com/2009/11/25/missing-libstdc-so-5-in-ubuntu-9-10-karmic/ [...]
January 21, 2010 at 4:29 pm |
Thanks…worked well.
February 7, 2010 at 1:33 pm |
it worked,
finally you have to make it visible in /usr/lib :
cd /usr/lib
sudo ln -s /usr/lib32/libstdc++.so.5 libstdc++.so.5
February 11, 2010 at 1:45 pm |
Hy! I am the admin of my system, but still I get a permission denied on the commands you posted. Have any idea? Thanks
February 9, 2010 at 1:28 pm |
nice one
February 10, 2010 at 10:41 pm |
[...] http://bootstrapping.wordpress.com/2009/11/25/missing-libstdc-so-5-in-ubuntu-9-10-karmic/ [...]
February 21, 2010 at 5:21 pm |
I simply use ‘ln -s libstdc++.so.6.0.13 libstdc++.so.5′ and have not found anything wrong so far.
February 25, 2010 at 2:04 am |
Thank you very much.
Your guidance helped my configuring libstdc++.so.5 for the Macromedia Flash Local Content Updater (that requires it) and was having trouble with normal install of libstdc++.so.5 via aptitude -> because I have a 64 bit system and the lib was not residing in the lib32 as the app from Flash expects.
once again, thanks.
February 25, 2010 at 2:31 am |
[...] If you jave Linux, and a 64 bit amd system it will probably give you an error, but do not fear! I’ve found some guidance on Let’s Bootstrap This World (whom I thank) that solves this minor issue with libstdc++ on Ubuntu 64 bits – original post here. [...]
March 2, 2010 at 7:59 pm |
dude, you are the man. I have been doing every damn thing suggested by many other forums out there but nothing worked.
Thanku sooooooo much.
March 16, 2010 at 3:49 pm |
Thank you very much. It works!!
March 21, 2010 at 2:16 am |
[...] to begin with and stop making up unnecessary new audio formats. But barring that, you can follow these instructions to install a workable libstdc++5 from Jaunty. Then unpack the PureVoice Converter 3.1 for Linux as [...]
April 15, 2010 at 6:59 pm |
[...] Mas depois de pesquisas encontrei neste post a solução: http://bootstrapping.wordpress.com/2009/11/25/missing-libstdc-so-5-in-ubuntu-9-10-karmic/ [...]
April 27, 2010 at 9:50 am |
This did the trick, =)
thank u very much Sir!
cheers
May 7, 2010 at 12:30 pm |
Thanks a lot! It works.
May 20, 2010 at 1:48 pm |
Thanks. It worked FINE indeed. just a little thing:
in my ubuntu i dont have /usr/lib32 , just /usr/lib/ or /usr/lib64/ …. i used /usr/lib/ instead and solved the prob
May 25, 2010 at 8:21 pm |
[...] I recently purchased some plugins to help with a development project I’m working on. Well, to register and decrypt the plugins, I had to run an application that required the libstdc++.so.5 library which has long been deprecated. I found some help from the following web site however: http://bootstrapping.wordpress.com/2009/11/25/missing-libstdc-so-5-in-ubuntu-9-10-karmic/ [...]
May 26, 2010 at 9:32 am |
Hi bootstrapping
Thanks for your article…….i’ve followed your instruction but still getting this below warning…..please help me
hossain@hossain:~/albot2/getvideo$ make getVideoExample.cpp getVideoExample
make: Nothing to be done for `getVideoExample.cpp’.
g++ -I/usr/local/opencv/include/opencv -I/usr/local/Aria/include -I/usr/local/Aria/ArNetworking/include -L/usr/local/opencv/lib -L/usr/local/Aria/lib -lcv -lcvaux -lcxcore -lhighgui -lstdc++ -lAria -lpthread -ldl -lrt -lArNetworking getVideoExample.cpp -o getVideoExample
/usr/bin/ld: warning: libstdc++.so.5, needed by /usr/local/Aria/lib/libAria.so, may conflict with libstdc++.so.6
/usr/bin/ld: warning: libstdc++.so.5, needed by /usr/local/Aria/lib/libAria.so, may conflict with libstdc++.so.6
July 7, 2010 at 10:15 pm |
Thanks a lot! Great article!
July 27, 2010 at 8:01 am |
[...] solution is worked out here by bootstrapping in his blog: Difference is that we muse use the /usr/lib instead of the /usr/lib32 folder in his [...]
May 25, 2011 at 1:17 am |
Rice Cooker Steamer I think this website contains very good written articles articles
June 25, 2011 at 12:44 pm |
For UBUNTU 10.04
Just download the .deb package
and
# dpkg -i libstdc++5_3.3.6-20_i386.deb
It works.
September 10, 2011 at 3:44 pm |
Luxury Hotels Kota Kinabalu…
[...]Missing libstdc++.so.5 in Ubuntu 9.10 (Karmic) « lets bootstrap this world![...]…
December 28, 2011 at 4:00 am |
Tigarete-Electronice.eu – Tigari electronice, Tigara electronica, Accesorii tigari electronice, Consumabile tigari electronice, Ploiesti…
[...]Missing libstdc++.so.5 in Ubuntu 9.10 (Karmic) « lets bootstrap this world![...]…