I'm running ubuntu 9.10 which has gcc4 (libstdc++6) installed, and I need to install a program that requires libstdc++5 that comes with gcc3. I don't see gcc-3 listed when I run "apt-cache search" so:

  • Is it necessary to install gcc-3 to achieve libstdc++5 ? If so where can I get it ?
  • Is there a way to install just libstdc++5
  • Would a soft link to libstdc++6 do or is it not recommended ?

Thanks

link|improve this question

feedback

3 Answers

up vote 1 down vote accepted

libstdc++5 isn't available in Ubuntu 9.10 (was available in universe in previous versions). You can try install the jaunty version - at a quick glance doesn't look like there'll be any dependency/conflict issues with that.

link|improve this answer
I agree: tried, works – o_O Tync Jan 6 '11 at 5:19
I'm here trying to install libstdc++ on Ubuntu 10.04. The link here leads to an error page. – Tergiver Jul 5 '11 at 23:34
Jaunty is no longer supported, hence it has been removed from the ubuntu package site. – theotherreceive Jul 6 '11 at 15:42
feedback

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
link|improve this answer
feedback
sudo apt-get install libstdc++5

Derp.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.