Sunday, July 10, 2011

Google Chrome v12 not working in openSUSE 11.4

Just installed Google Chrome v12 in openSUSE 11.4, everything seems great. But when I tried to run it nothing happens.

I fired up konsole and this shows up

timus@opensuse114:~/Downloads> google-chrome
/usr/bin/google-chrome: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
timus@opensuse114:~/Downloads>
Looks like we have missing dependencies. Searching repo, like:
zypper search libpng

shows the following...
S | Name                  | Summary                                                      | Type  
--+-----------------------+--------------------------------------------------------------+--------
  | libpng12-0            | Library for the Portable Network Graphics Format (PNG)       | package
  | libpng12-compat-devel | Development Tools for applications which will use the Libpng | package
  | libpng12-devel        | Development Tools for applications which will use the Libpng | package
i | libpng14-14           | Library for the Portable Network Graphics Format (PNG)       | package
  | libpng14-compat-devel | Development Tools for applications which will use the Libpng | package
  | libpng14-devel        | Development Tools for applications which will use the Libpng | package

The following command fixes it.
sudo zypper install libpng12-0

Just out of curiosity, i did:

opensuse114:/home/timus/Downloads # rpm -qR google-chrome-stable
rpmlib(VersionedDependencies) <= 3.0.3-1
lsb >= 3.2
libasound.so.2 
libcairo.so.2 
libcurl.so.4 
libgconf-2.so.4 
libnss3.so(NSS_3.12.3) 
libpangocairo-1.0.so.0 
libsqlite3.so.0 
libbz2.so.1 
libXss.so.1 
libjpeg.so.62 
wget 
xdg-utils 
zlib 
/bin/sh 
/bin/sh 
/bin/sh 
/bin/sh 
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsBzip2) <= 3.0.5-1


So there you go, the rpm file that comes from Google is missing libpng12-0 dependency. I would really hope that this gets fixed in upcoming releases.

~ts

4 comments:

Fabian said...

Thanks your advice works perfect.
Fabian

Fabian said...

Thanks, it works perfect.

Techno Scavenger said...

Glad that it is working for you... thanks for dropping a comment.

QR Capture said...

great nice work, wanna get more info

How to configure ftp server on QNX 7.1 with PAM user authentication

How to configure ftp server on QNX 7.1 with PAM user authentication Create empty folder, I am using vm12 C:\> cd \ C:\> mkdir vms ...