Page 1 of 2 12 LastLast
Results 1 to 10 of 27

Thread: libstdc++.so.5: cannot open shared object file

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    18,996
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: libstdc++.so.5: cannot open shared object file

    Quote Originally Posted by mad_prince View Post
    Yes I am. And I also have downloaded package for 64bit.
    True Combat is 32-bit app/game. So you need to install the 32-bit version of libstdc++5 on your 64-bit system.

    Code:
    cd ~/Desktop
    wget http://frozenfox.freehostia.com/cappy/getlibs-all.deb
    wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb
    sudo dpkg -i getlibs-all.deb
    getlibs -i libstdc++5_3.3.6-17ubuntu1_i386.deb
    | AMD Ryzen 1700x 3.4 GHz | ASUS PRIME X370-A | 32 GB 2400 Mhz DDR4 |
    | ASUS Nvidia 1070 8 GB | SSD 250 GB | HDD 1 TB |


    Check my Desktop for ideas Desktop 1 and Desktop 2
    What Sheldon Cooper thinks of Ubuntu.

  2. #2
    Join Date
    Aug 2008
    Location
    Poland
    Beans
    29
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: libstdc++.so.5: cannot open shared object file

    It works! Thank YOU very much
    Sorry for my english. If you prefer, I can use polish

  3. #3
    Join Date
    Nov 2009
    Beans
    3

    Re: libstdc++.so.5: cannot open shared object file

    I found this problem when compiling a code in fortran...
    I performed the procedures list (thanks AI) but the same mesage remains...
    My fortran is 64-bit. Maybe I need a 64-bit libstdc++5.
    Plz, how should be the procedures in this situation??

  4. #4
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    18,996
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: libstdc++.so.5: cannot open shared object file

    If you're compiling in 64-bit for 64-bit, you need the 64-bit version of libstdc++5
    The problem is that libstdc++5 is obsolete and the -dev package you need for compiling is old. You have to get an old package back from hardy version. (as the -dev package you need to compile is only available there)
    You need to uninstall your previous version of libstdc++5 and install the version from hardy and then install the -dev package of it for compiling as it isn't maintained anymore.

    http://packages.ubuntu.com/search?ke...dy&section=all
    Last edited by Artificial Intelligence; November 19th, 2009 at 09:15 PM.
    | AMD Ryzen 1700x 3.4 GHz | ASUS PRIME X370-A | 32 GB 2400 Mhz DDR4 |
    | ASUS Nvidia 1070 8 GB | SSD 250 GB | HDD 1 TB |


    Check my Desktop for ideas Desktop 1 and Desktop 2
    What Sheldon Cooper thinks of Ubuntu.

  5. #5
    Join Date
    Nov 2009
    Beans
    3

    Re: libstdc++.so.5: cannot open shared object file

    Hi,

    I followed the link that you furnished. Instead downloading and installing manually I changed my

    /etc/apt/sources.list
    adding:

    deb http://cz.archive.ubuntu.com/ubuntu hardy main universe

    After that I used the Synaptic Package Manager and fixed the issue. The details are in
    http://packages.ubuntu.com/hardy/amd64/gcc-3.3/download

    Thanks AI.

  6. #6
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    18,996
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: libstdc++.so.5: cannot open shared object file

    Just disable the line afterwards, as it's not a good idea to mix repos.
    | AMD Ryzen 1700x 3.4 GHz | ASUS PRIME X370-A | 32 GB 2400 Mhz DDR4 |
    | ASUS Nvidia 1070 8 GB | SSD 250 GB | HDD 1 TB |


    Check my Desktop for ideas Desktop 1 and Desktop 2
    What Sheldon Cooper thinks of Ubuntu.

  7. #7
    Join Date
    Apr 2006
    Location
    hasselt, be
    Beans
    4

    Re: libstdc++.so.5: cannot open shared object file

    Thanks AI, your recipe worked fine for getting Code Aster (FEA program) running again.
    kind regards - kees

  8. #8
    Join Date
    Dec 2008
    Beans
    1

    Re: libstdc++.so.5: cannot open shared object file

    Quote Originally Posted by DenisGLX View Post

    /etc/apt/sources.list

    adding:
    deb http://cz.archive.ubuntu.com/ubuntu hardy main universe
    I did it the same way... adding the line, then
    Code:
    sudo apt-get install libstdc++5
    and disabling the line in sources.list afterwards.
    Thanks, too
    Last edited by habschi; October 27th, 2010 at 06:19 PM. Reason: added details

  9. #9
    Join Date
    Aug 2007
    Beans
    8

    Re: libstdc++.so.5: cannot open shared object file

    Quote Originally Posted by habschi View Post
    I did it the same way... adding the line, then
    Code:
    sudo apt-get install libstdc++5
    and disabling the line in sources.list afterwards.
    Thanks, too
    Thanks a lot! This saved me some time.

    I was trying to install Xilinx WebPACK 9.2i on Ubuntu 10.04.
    This package is so old that I needed libstdc++5 to install. Ubuntu 10.04 only has libstdc++6 installed by default but that was not enough.

    Any way, thanks !

    EDIT:

    Also if
    Code:
    sudo apt-get install libstdc++5
    does not work, remember to do
    Code:
    sudo apt-get update
    Last edited by flang3r; February 12th, 2011 at 06:31 PM.

  10. #10
    Join Date
    May 2009
    Beans
    11

    Re: libstdc++.so.5: cannot open shared object file

    I am Ununtu Lucid 64 bit and have same problem and I resolved it
    Basically you need to link 32 bit version of libstdc++.so.5
    Here is the detailed procedure to do that as a part of Ifort installtion
    http://software.intel.com/en-us/arti...x-with-ubuntu/

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •