installed realplayer for ubuntu linux with libstdc++.so.5

installed realplayer for ubuntu linux with libstdc++.so.5

download RealPlayer10GOLD.bin from real.com.

# first make it excutable:
chmod +x RealPlayer10GOLD.bin

# while trying to install by run command, there was some error:
sudo ./RealPlayer10GOLD.bin

./RealPlayer10GOLD.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

# but the installation CD does not contain libstdc++.so.5.
# searched the internet i found a solution;

# download deb package:
wget -c http://lug.mtu.edu/ubuntu/pool/main/g/gcc-3.3/libstdc++5_3.3.6-13ubuntu2_i386.deb

# unpack deb package to get library file
dpkg -x libstdc++5_3.3.6-13ubuntu2_i386.deb libstdc++5

# copy library file to /usr/bin directory
sudo cp libstdc++5/usr/lib/libstdc++.so.5.0.7 /usr/lib

# change directory to /usr/lib directory
cd /usr/lib

# create simbolic link to library
sudo ln -s libstdc++.so.5.0.7 libstdc++.so.5

done,
now you have the enviroment to install realplayer.

run the install command again:

sudo ./RealPlayer10GOLD.bin
Extracting files for RealPlayer installation........................

Welcome to the RealPlayer (10.0.9.809) Setup for UNIX
Setup will help you get RealPlayer running on your computer.
Press [Enter] to continue...

the solution from where was originally made for ibm DB2: http://www.ibm.com/developerworks/forums/dw_thread.jsp?forum=805&thread=179835&cat=19