Missing libstdc++.so.5 in Ubuntu 9.10 (Karmic)

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: , ,

29 Responses to “Missing libstdc++.so.5 in Ubuntu 9.10 (Karmic)”

  1. Dries Says:

    Yes, and the easy way is to download it from here: http://packages.debian.org/stable/base/libstdc++5

  2. Abhi Says:

    Thanks… it worked well…

  3. Rushikesh Says:

    Hey, thanks.. :)

  4. Strider Says:

    Thanks for the hint!
    Now I can play Gridwars 2 on Karmic thanks to you :)

  5. Eilijah Says:

    Hey , thanks a lot u just gotta save my ass!!

    cheers

  6. IBM Mashup Center 2.0 on 64-bit Ubuntu 9.10 « Benfletcher’s Weblog Says:

    [...] 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/ [...]

  7. BigMcLargehuge Says:

    Thanks…worked well.

  8. radrr Says:

    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

    • andrei Says:

      Hy! I am the admin of my system, but still I get a permission denied on the commands you posted. Have any idea? Thanks

  9. igaduma Says:

    nice one :)

  10. Java EE on Ubuntu 64, Karmic Koala « javaubuntuseamlife Says:

    [...] http://bootstrapping.wordpress.com/2009/11/25/missing-libstdc-so-5-in-ubuntu-9-10-karmic/ [...]

  11. lium Says:

    I simply use ‘ln -s libstdc++.so.6.0.13 libstdc++.so.5′ and have not found anything wrong so far.

  12. PedroLopes Says:

    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.

  13. Open Source Flash#5: AS3 Sockets and Security | Mtdjing Says:

    [...] 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. [...]

  14. Pradp Says:

    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.

  15. Raul Says:

    Thank you very much. It works!!

  16. Run pvconv (Qualcomm PureVoice Converter) on Ubuntu Karmic | Ted Carnahan Says:

    [...] 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 [...]

  17. Edmafer » Blog Archive » Erro ao carregar libstdc++.so.5 Ubuntu 9.10 Says:

    [...] 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/ [...]

  18. MJ Says:

    This did the trick, =)
    thank u very much Sir!

    cheers

  19. O.Shevchenko Says:

    Thanks a lot! It works.

  20. wepawetmose Says:

    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 ;)

  21. CULLY Technologies, LLC » That darned libstdc++.so.5 file Says:

    [...] 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/ [...]

  22. hossain Says:

    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

  23. Rodolinux Says:

    Thanks a lot! Great article!

  24. Tibco Designer under Ubunti 10.04 LTS Says:

    [...] 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 [...]

  25. eileenm Says:

    Rice Cooker Steamer I think this website contains very good written articles articles

  26. Ganesh Says:

    For UBUNTU 10.04
    Just download the .deb package
    and
    # dpkg -i libstdc++5_3.3.6-20_i386.deb

    It works.

  27. Cheap Hotel Kota Kinabalu Says:

    Luxury Hotels Kota Kinabalu…

    [...]Missing libstdc++.so.5 in Ubuntu 9.10 (Karmic) « lets bootstrap this world![...]…

  28. Tigarete-Electronice.eu - Tigari electronice, Tigara electronica, Accesorii tigari electronice, Consumabile tigari electronice, Ploiesti Says:

    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![...]…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.