/opt/real/RealPlayer/realplay.bin: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot

I have tried to install Realplayer on OpenSuse through this guide

wget http://client-software.real.com/free/unix/RealPlayer11GOLD.rpm

rpm -ivh RealPlayer11GOLD.rpm.

When I have tried to run it with this command :

realplay

I have received issue with the following text :

/opt/real/RealPlayer/realplay.bin: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory

How can I fix it?

Hi
The 64 bit library containing libgdk-x11-2.0.so.0 is libgtk-2_0-0, if it’s a 32bit app, install libgtk-2_0-0-32bit.


zypper se --provides libgdk-x11-2.0.so.0

S | Name               | Summary                              | Type   
--+--------------------+--------------------------------------+--------
i | libgtk-2_0-0       | The GTK+ toolkit library (version 2) | package
  | libgtk-2_0-0-32bit | The GTK+ toolkit library (version 2) | package

To begin with, it is often better to install an RPM using

zypper in <name>.rpm

because zypper will try to install dependancies when possible or report when it can not.

Thank you malcolmlewis for you answer, now I can use RealPlayer.