unable to run Chrome on RC2(64 KDE), missing libpng12.so.0

I’ve installed Chrome (64) from the Google site and also using YAST (from http://dl.google.com/linux/chrome/rpm/stable/x86_64) but can not start it. No Icons appeared in any menu. Attempts to start from CLI resulted in this error message:

google-chrome
/usr/bin/google-chrome: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

I’ve tried to locate and install libpng12.so.0 but can only find the file in repos for earlier releases

The install link or file you opened does not contain instructions for this version of openSUSE.

also tried:

zypper in google-chrome-stable_current_x86_64.rpm

Loading repository data…
Warning: Repository ‘openSUSE-11.4-Update’ appears to outdated. Consider using a different mirror or server.
Reading installed packages…
‘google-chrome-stable = 0:9.0.597.98-74359’ is already installed.
No update candidate for ‘google-chrome-stable-9.0.597.98-74359.x86_64’. The highest available version is already installed.
Resolving package dependencies…

Nothing to do.

my temporarily bloated repo list:

zypper lr -d

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

—±------------------------------±--------------------------------±--------±--------±---------±-------±-------------------------------------------------------------------------------±-------
1 | Factory:Contrib | Factory:Contrib | Yes | Yes | 99 | rpm-md | Index of /repositories/openSUSE:/Factory:/Contrib/standard |
2 | Packman | Packman | Yes | Yes | 99 | rpm-md | Index of /suse/Factory/Essentials/ |
3 | download.opensuse.org-mozilla | openSUSE BuildService - Mozilla | Yes | Yes | 99 | rpm-md | Index of /repositories/mozilla/openSUSE_11.3 |
4 | google-chrome | google-chrome | Yes | Yes | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
5 | opensuse-guide.org-repo | libdvdcss repository | Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/11.3/ |
6 | repo-debug | openSUSE-11.4-Debug | No | Yes | 99 | NONE | Index of /factory-snapshot/repo/debug |
7 | repo-debug-update | openSUSE-11.4-Update-Debug | No | Yes | 99 | NONE | Index of /debug/update/11.4 |
8 | repo-non-oss | openSUSE-11.4-Non-Oss | Yes | Yes | 99 | yast2 | Index of /factory-snapshot/repo/non-oss |
9 | repo-oss | openSUSE-11.4-Oss | Yes | Yes | 99 | yast2 | Index of /factory-snapshot/repo/oss |
10 | repo-source | openSUSE-11.4-Source | No | Yes | 99 | NONE | Index of /factory-snapshot/repo/source |
11 | repo-update | openSUSE-11.4-Update | Yes | Yes | 99 | rpm-md | Index of /update/11.4

I can see it in the oss repo.
Try:

zypper wp libpng12.so.0

It’ll show up as libpng12-0-32bit & libpng12-0 in the Oss repo.

@kozzington
thanx for the quick reply

I can report partial success

zypper wp libpng12.so.0

Loading repository data…
Warning: Repository ‘openSUSE-11.4-Update’ appears to outdated. Consider using a different mirror or server.
Reading installed packages…
S | Name | Type | Version | Arch | Repository
–±-----------------±--------±-----------±-------±-----------------
| libpng12-0 | package | 1.2.44-7.1 | x86_64 | openSUSE-11.4-Oss
| libpng12-0 | package | 1.2.44-7.1 | i586 | openSUSE-11.4-Oss
| libpng12-0-32bit | package | 1.2.44-7.1 | x86_64 | openSUSE-11.4-Oss
however I’m still baffled

:~> google-chrome
/usr/bin/google-chrome: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

Did you install it?
“wp” = what provides, it looks for the package that contains the file but it does not install it.

sudo zypper in libpng12-0

I must be a lot more tired than I realized. Now I do feel more than a little foolish, but that’s OK because Chrome just loaded.

Thanx again.

(I have to laugh. Sometimes I can really understand the folks who want nothing to do with computers.)

Once I installed the missing file chrome worked just fine, however I then installed Skype and lo and behold

:~> skype
skype: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

Nothing’s ever easy is it?

Maybe its the 32-bit library? Try this:


zypper in libpng12-0-32bit

@ ah7013

exactly… in fact I ran

zypper install libpng12-0-32bit libqt4-32bit libqt4-dbus-1-32bit libqt4-x11-32bit libsigc++2-32bit xorg-x11-libXv-32bit

just in case.