Monday, July 18, 2011

google-chrome – libpng12.so.0: cannot open shared object file

# download installer google-chrome choose *.rpm

http://www.google.com/chrome

#install google-chrome Opensuse 11.4

$sudo zypper in google-chrome-beta_current_i386.rpm

run google-chrome : applications > internet > web browser > google-chrome

problem that usually we have

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

its means that google-chrome cannot running ,
this problem can solved with installing libpng12.so.0


$sudo zypper install libpng12*
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: libpng12-compat-devel-1.2.44-7.1.x86_64 conflicts with namespace:otherproviders(libpng-devel) provided by libpng14-compat-devel-1.4.4-2.1.x86_64
Solution 1: Following actions will be done:
do not install libpng12-compat-devel-1.2.44-7.1.x86_64
do not install libpng12-compat-devel-32bit-1.2.44-7.1.x86_64
Solution 2: deinstallation of libpng14-compat-devel-1.4.4-2.1.x86_64

Choose from above solutions by number or cancel [1/2/c] ©: 2
Resolving dependencies...
Resolving package dependencies...

The following NEW packages are going to be installed:
libpng12-0 libpng12-0-32bit libpng12-compat-devel libpng12-compat-devel-32bit libpng12-devel libpng12-devel-32bit

The following package is going to be REMOVED:
libpng14-compat-devel

The following recommended package was automatically selected:
libpng12-compat-devel

6 new packages to install, 1 to remove.
Overall download size: 337.0 KiB. After the operation, additional 828.0 KiB will be used.
Continue? [y/n/?] (y): y
Retrieving package libpng12-0-32bit-1.2.44-7.1.x86_64 (1/6), 73.0 KiB (166.0 KiB unpacked)
Retrieving: libpng12-0-32bit-1.2.44-7.1.x86_64.rpm [done (13.7 KiB/s)]
Retrieving package libpng12-0-1.2.44-7.1.x86_64 (2/6), 72.0 KiB (168.0 KiB unpacked)
Retrieving: libpng12-0-1.2.44-7.1.x86_64.rpm [done (87.3 KiB/s)]
Retrieving package libpng12-devel-1.2.44-7.1.x86_64 (3/6), 116.0 KiB (492.0 KiB unpacked)
Retrieving: libpng12-devel-1.2.44-7.1.x86_64.rpm [done (94.8 KiB/s)]
Retrieving package libpng12-devel-32bit-1.2.44-7.1.x86_64 (4/6), 8.0 KiB (3.0 KiB unpacked)
Retrieving: libpng12-devel-32bit-1.2.44-7.1.x86_64.rpm [done (11.8 KiB/s)]
Retrieving package libpng12-compat-devel-1.2.44-7.1.x86_64 (5/6), 61.0 KiB (53.0 KiB unpacked)
Retrieving: libpng12-compat-devel-1.2.44-7.1.x86_64.rpm [done (60.7 KiB/s)]
Retrieving package libpng12-compat-devel-32bit-1.2.44-7.1.x86_64 (6/6), 7.0 KiB (0 B unpacked)
Retrieving: libpng12-compat-devel-32bit-1.2.44-7.1.x86_64.rpm [done (6.7 KiB/s)]
Removing libpng14-compat-devel-1.4.4-2.1 [done]
Installing: libpng12-0-32bit-1.2.44-7.1 [done]
Installing: libpng12-0-1.2.44-7.1 [done]
Installing: libpng12-devel-1.2.44-7.1 [done]
Installing: libpng12-devel-32bit-1.2.44-7.1 [done]
Installing: libpng12-compat-devel-1.2.44-7.1 [done]
Installing: libpng12-compat-devel-32bit-1.2.44-7.1 [done]



try for run google-chrome again ....

No comments:

Post a Comment