PDA

View Full Version : Just upgraded



tqft
11-30-2005, 06:22 AM
from Ubuntu 5.04 to 5.10

am getting an error when I try to start sb error while loading shared libraries: libstdc++.so.5 cannot open object file: No such file or directory

anyone else seen this and maybe know of a work around - a quick search of the forums has not found anything

Matt
11-30-2005, 08:09 AM
just try searching for libstdc++.so and see if you have that, if you do make a symlink to it with .5 on the end, it's a bit of a hack but it might work

tqft
11-30-2005, 05:01 PM
version 'CXXABI_1.2' not found (required by ./sb)

all the libstdc++.so files are links except libstdc++.so.6.0.5 which is the one I created the link to

cd usr/lib
sudo ln /usr/lib/libstdc++.so.6.0.5 libstdc++.so.5

any ideas I what I did wrong?

pixl97
11-30-2005, 05:55 PM
on fedora you would install compat-libstdc++, it installs an older version of the libraries for you. Not sure about your distro.

pixl

tqft
11-30-2005, 08:55 PM
Looks like lots of ther people have had this problem with other software.

Really techo :bang: fix by the look which I will try when I get home from work:
sudo apt-get install libstdc++5


the clue was compat-libstdc++ which a basic google search found lots of other people with the same problem (with the same distro version). So it looks like Ubuntu has updated and lost some compatability.

Now I know what to look for can find the answer easy.

At a guess sb for linux was compiled with gcc 3.x - ubuntu 5.10 comes with gcc 4.x and that is where the compatability problem occured

Thanks


Edit:

works now - is even on install cd however note installs as libstdc++.so.5.0.7 so you need to the sym link to that ie -
sudo ln /usr/lib/libstdc++.so.5.0.7 libstdc++.so.5