Bug 44203 - libpng12.so.0 is needed for installation, but not linked in rpm-packages
Summary: libpng12.so.0 is needed for installation, but not linked in rpm-packages
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: All Linux (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 53830 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-12-28 00:03 UTC by Robert Großkopf
Modified: 2012-12-09 20:46 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2011-12-28 00:03:04 UTC
I could install LibO 3.5.0 Beta2 normally. When I try to start the program it fails. libpng12 is needed, but the installation shows nothing of this. libpng14 is already installed.
Comment 1 Jean-Baptiste Faure 2011-12-28 15:35:14 UTC
confirmed by user on fr-discuss list in the case of 64 bits RPM distro.

Best regards. JBF
Comment 2 Akinari 2012-06-06 05:59:51 UTC
The same on Fedora 17 x64: non-fatal error during the installation and LO doesn start:

/opt/libreoffice3.5/program/soffice.bin: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

There´s a newer version in repositories: libpng15.so.15.

I´ve solved this issue for me by installing libpng-compat package containing the needed file /usr/lib64/libpng12.so.0 , but the solution is not evident for everyone I think.

Is it possible to install libpng-compat automatically as a dependency for LO?
Comment 3 NoOp 2012-06-06 14:12:01 UTC
Re comment#2: I can confirm with Fedora 17 32bit. Exact same issue & had to install libpng-compat 

Linux fedoravmware 3.3.7-1.fc17.i686 #1 SMP Mon May 21 22:50:24 UTC 2012 i686 i686 i386 GNU/Linux

$ yum provides \*/libpng12.so.0
Loaded plugins: langpacks, presto, refresh-packagekit
2:libpng-compat-1.5.10-1.fc17.i686 : Temporary backwards-compatibility copy of
                                   : old libpng
Repo        : fedora
Matched from:
Filename    : /usr/lib/libpng12.so.0

$ cat /opt/libreoffice3.5/program/versionrc
[Version]
AllLanguages=en-US
BuildVersion=
buildid=165a79a-7059095-e13bb37-fef39a4-9503d18
ExtensionUpdateURL=http://updateexte.libreoffice.org/ExtensionUpdateService/check.Update
ProductBuildid=2
ProductMajor=350
ProductMinor=1
ProductSource=OOO350
ReferenceOOoMajorMinor=3.4
UpdateID=LibreOffice_3_en-US
UpdateURL=http://update.libreoffice.org/check.php?pkgfmt=rpm
UpdateUserAgent=<PRODUCT> (${buildid}; ${_OS}; ${_ARCH}; BundledLanguages=${AllLanguages})
Vendor=The Document Foundation
Comment 4 peter Roots 2012-08-27 18:09:52 UTC
This is still the case on Fedora 17 64 bit with LO 3.5.6.2 
Fixed, as above with libpng-compat but would be better to either have this as a dependency or use a later version of the library.
No errors were seen on install, just LO failed to run
Comment 5 Laurent Balland 2012-10-11 06:22:38 UTC
*** Bug 53830 has been marked as a duplicate of this bug. ***
Comment 6 Laurent Balland 2012-10-11 06:28:15 UTC
Same Issue with Suse Linux (see fdo#53830).
See also fdo#36497
Comment 7 panosmdma 2012-12-09 20:46:36 UTC
3.6.9-2.fc17.x86_64 LibreOffice 3.6.4.3 solved install libpng-compat