Why can't I open LibreOffice components on Oracle Linux 7?


I’ve just installed LibreOffice (Fresh) on Oracle Linux, which is RHEL based distro, very same as CentOS or Scientific Linux. When I try to open any LibreOffice component, I get error message:

Component cannot be loaded, possibly broken or incomplete installation. Full error message:
loading component library 
<file:///opt/libreoffice4.3/program/../program/libswlo.so> failed.

I didn’t have any LibreOffice previously installed; this is a clean system with the EPEL repository.

I downloaded the latest rpm, untarred, opened RPMS directory and ran yum install [star]rpm. The installation didn’t have any errors or warnings.

System info:
Oracle Linux 7, kernel 3.10.0-123.4.4.el7.x86_64, java version “1.8.0_11”, Java™ SE Runtime Environment (build 1.8.0_11-b12), Java HotSpot™ 64-Bit Server VM (build 25.11-b03, mixed mode)

Any help would be appreciated. Thank You!

P.S. The Still version seems to work, but it would be nice to use the latest version.

Had the same problem. Doing:

$ ldd /opt/libreoffice4.3/program/libswlo.so

Revealed that libswlo.so needed libGLU.so, which was not available. So did:

# yum search libGLU

and found it was part of Mesa so did the following to install that:

# yum install mesa-libGLU.x86_64

(If running 32-bit, youl’ll need to change the above to mesa-libGLU.i686.)

This resolved the problem for me.

This particular error has recently been reported in bug fdo#80972 but is unconfirmed as yet (and is for an upgrade). Other reports I can find on the internet relating to this error are situations where either another instance of LO is running (Arch Linux bug fs#29583) or a component failed to install (Arch Linux BBS thread). Try running this command to get a report of the linking:

$ ldd /opt/libreoffice4.3/program/libswlo.so

Also check $PATH does not contain anything that may be affecting the install location.