a fresh installation of LibO 3.4 beta 2 fails to start on OpenSuse 11.4 giving the error message:
/opt/libreoffice/program/oosplash.bin: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
manual installation of libpng12 fixes the problem.
The correct version of libpng should be defined as requirement in the rpms.
The openSUSE-provided packaged from the LibreOffice: repositories do not install under /opt.
Hmm, the packages are supposed to work on every distro. I am not sure if the provides and requires are standardized on all distributions.
One solution would be to bundle libpng with LO. I am not sure if it is a good idea. There were often security updates for this library :-(
Anyone has a better idea, opinion?
Urk - it looks like I broke this with:
PKG_CHECK_MODULES( LIBPNG, libpng, ENABLE_QUICKSTART_LIBPNG="TRUE", ENABLE_QUICKSTART_LIBPNG="" )
We need to be able to disable using libpng for the quickstarter; I should add back a --disable-quickstart-libpng thing - and we should use that for our release distro-config I guess.
Andre - the work around is to just run 'soffice.bin' manually incidentally.
I've committed the fix to master - it missed review for RC1 I think - should be in RC2.