Getting 32-bit libstdc++.so.5 in {Karmic Koala,Lucid Lynx} on a 64-bit system
The Intel compilers require a 32-bit version of libstdc++.so.5 to function. Getting a copy of that build of that library requires a couple of steps in the latest 64-bit Ubuntu {9.10,10.04}. These have been alluded to in other places. Just in case someone needs the details, here they are:
- Download the i386 libstdc++ package for Jaunty: http://packages.ubuntu.com/jaunty/i386/libstdc++5/download
- Unpack the .deb archive using ar vx ~/Desktop/libstdc++5_3.3.6-17ubuntu1_i386.deb
- Unpack the resulting data.tar.gz using tar xzvf data.tar.gz
- Confirm that you got the 32-bit version using file usr/lib/libstdc++.so.5.0.7
- Install the library into /usr/lib32 using sudo install usr/lib/libstdc++.so.5.0.7 /usr/lib32
- Change to /usr/lib32 using cd /usr/lib32
- Create a symlink to finish the task via sudo ln -s libstdc++.so.5.0.7 libstdc++.so.5
- http://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/69247/
- http://packages.ubuntu.com/jaunty/libstdc++5
- http://www.g-loaded.eu/2008/01/28/how-to-extract-rpm-or-deb-packages/
Updated 24 April 2010: Appears that this procedure also works on the Lucid Lynx release candidate.