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

    技术2022-05-13  8

    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, first install libstdc++5 64bit and then do the following:

    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


    最新回复(0)