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.
15 comments:
After retrieving the .deb, why not just install it with "sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_i386.deb"?
That way, apt and dpkg know about it.
Will that command succeed, or does it require forcing your way past prereqs? I don't remember if I thought to try it, or if there's a gcc-3.3-base-something-or-other prereq that prevents it from installing.
Thank you for your help with this!
Debian package is installed perfectly on karmic. http://packages.debian.org/stable/base/libstdc++5
Worked like a laser cat in mid-feburary..
THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
PS> !!!!!!!!!!!!!!!!!!
This really helped thanks.
Hey, this worked great for me, amny thnks for blogging about it.
gives me segfault now :(
!!!YAY!!!! Thankyou *so* much :)
I needed libstdc++5 to get my Lexmark printer (*eeek!*) working and the 64 bit .deb just doesn't seem to work for cups.
Might be worth mentioning for the chap who got the seg fault that gcc-3.3-base is a dependency for libstdc++5. If you're on a 64 bit install the 64 bit .deb seems to work ok with 32 bit libstdc++.so.5
Rachael
WOW, Worked GREAT!!!!!!
hey rhys! like i said, I used these instructions with limited success... but I just found these instructions, straight from the horse's mouth: http://software.intel.com/en-us/articles/using-intel-compilers-for-linux-with-ubuntu/
...apparently you need 32 AND 64 bit versions of libstdc++5, neither of which is available in the 9.10 repos... i just followed these directions, and things seem to be working fine.
- jz
thanks!
I've been searching for a solution for it for days, thank you.
Your means of telling the whole thing in this piece of writing is truly good, all can effortlessly be aware of it, Thanks a lot.
If some one needs expert view on the topic of blogging afterward i suggest him/her to go to see this web site, Keep up the fastidious work.
Post a Comment