You are not logged in.

#1 2013-09-14 18:41:18

01
Member
Registered: 2013-09-14
Posts: 10

[SOLVED] libreoffice fails to open documents, libswlo.so failed

After an upgrade several days ago, libreoffice has broken. I've seen a few threads about this issue, but they offer no resolution.
I've removed and reinstalled libreoffice-common to no avail. My system is up to date otherwise.

Whenever libreoffice is run, it cannot open existing files or create new ones. The following error message is returned:
--------------------------------------------------------------------------------------------
Component cannot be loaded, possibly broken or incomplete installation.
Full error message:

loading component library failed: file:///usr/lib/libreoffice/program/../program/libswlo.so.
--------------------------------------------------------------------------------------------

The library /usr/lib/libreoffice/program/libswlo.so exists.

EDIT: libreoffice-calc continues to work; the problem is very specific to libswlo.

Last edited by 01 (2013-09-14 20:22:05)

Offline

#2 2013-09-14 19:15:13

armandopk
Member
Registered: 2012-11-13
Posts: 19
Website

Re: [SOLVED] libreoffice fails to open documents, libswlo.so failed

Try search the file /usr/lib/libreoffice/program/libswlo.s, make a backup and then delete it, next reinstall libreoffice.

Offline

#3 2013-09-14 19:17:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] libreoffice fails to open documents, libswlo.so failed

armandopk wrote:

Try search the file /usr/lib/libreoffice/program/libswlo.s, make a backup and then delete it, next reinstall libreoffice.

Since /usr/lib/libreoffice/program/libswlo.so is provided by libreoffice-common, I don't see what are you trying to accomplish by reinstalling.

Edit: And OP wrote he already tried it.

Last edited by karol (2013-09-14 19:18:33)

Offline

#4 2013-09-14 19:52:30

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,414
Website

Re: [SOLVED] libreoffice fails to open documents, libswlo.so failed

Could you post the output of

ldd /usr/lib/libreoffice/program/libswlo.so

Between [ code ] tags, please.

Last edited by WorMzy (2013-09-14 19:52:51)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2013-09-14 20:06:52

01
Member
Registered: 2013-09-14
Posts: 10

Re: [SOLVED] libreoffice fails to open documents, libswlo.so failed

ldd /usr/lib/libreoffice/program/libswlo.so returns:

 	linux-vdso.so.1 (0x00007fff48454000)
	/usr/lib/libswmhack.so.0.0 (0x00007f4179507000)
	libicuuc.so.51 => /usr/lib/libicuuc.so.51 (0x00007f4179171000)
	libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f4178e09000)
	libavmedialo.so => /usr/lib/libreoffice/program/libavmedialo.so (0x00007f4178bd5000)
	libbasegfxlo.so => /usr/lib/libreoffice/program/libbasegfxlo.so (0x00007f4178925000)
	libcomphelper.so => /usr/lib/libreoffice/program/libcomphelper.so (0x00007f41785af000)
	libuno_cppu.so.3 => /usr/lib/libreoffice/program/../ure-link/lib/libuno_cppu.so.3 (0x00007f4178364000)
	libuno_cppuhelpergcc3.so.3 => /usr/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3 (0x00007f4178065000)
	libdrawinglayerlo.so => /usr/lib/libreoffice/program/libdrawinglayerlo.so (0x00007f4177d02000)
	libeditenglo.so => /usr/lib/libreoffice/program/libeditenglo.so (0x00007f41778cf000)
	libi18nlangtag.so => /usr/lib/libreoffice/program/libi18nlangtag.so (0x00007f41776a1000)
	libi18nutil.so => /usr/lib/libreoffice/program/libi18nutil.so (0x00007f4177489000)
	liblnglo.so => /usr/lib/libreoffice/program/liblnglo.so (0x00007f41771f4000)
	libuno_sal.so.3 => /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3 (0x00007f4176f9d000)
	libuno_salhelpergcc3.so.3 => /usr/lib/libreoffice/program/../ure-link/lib/libuno_salhelpergcc3.so.3 (0x00007f4176d95000)
	libsaxlo.so => /usr/lib/libreoffice/program/libsaxlo.so (0x00007f4176b79000)
	libsblo.so => /usr/lib/libreoffice/program/libsblo.so (0x00007f41767b6000)
	libsfxlo.so => /usr/lib/libreoffice/program/libsfxlo.so (0x00007f41760b0000)
	libsotlo.so => /usr/lib/libreoffice/program/libsotlo.so (0x00007f4175e4c000)
	libsvllo.so => /usr/lib/libreoffice/program/libsvllo.so (0x00007f4175b46000)
	libsvtlo.so => /usr/lib/libreoffice/program/libsvtlo.so (0x00007f4175581000)
	libsvxlo.so => /usr/lib/libreoffice/program/libsvxlo.so (0x00007f4174fbe000)
	libsvxcorelo.so => /usr/lib/libreoffice/program/libsvxcorelo.so (0x00007f4174585000)
	libswdlo.so => not found
	libtklo.so => /usr/lib/libreoffice/program/libtklo.so (0x00007f4173fb5000)
	libtllo.so => /usr/lib/libreoffice/program/libtllo.so (0x00007f4173d36000)
	libucbhelper.so => /usr/lib/libreoffice/program/libucbhelper.so (0x00007f4173aa8000)
	libutllo.so => /usr/lib/libreoffice/program/libutllo.so (0x00007f4173767000)
	libvbahelperlo.so => /usr/lib/libreoffice/program/libvbahelperlo.so (0x00007f4173480000)
	libvcllo.so => /usr/lib/libreoffice/program/libvcllo.so (0x00007f4172d1a000)
	libxmlreader.so => /usr/lib/libreoffice/program/../ure-link/lib/libxmlreader.so (0x00007f4172b0f000)
	libxolo.so => /usr/lib/libreoffice/program/libxolo.so (0x00007f41724df000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f41721db000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007f4171ed7000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f4171cc1000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f4171917000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f41715db000)
	libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x00007f41713d9000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f41711ba000)
	libxcb-icccm.so.4 => /usr/lib/libxcb-icccm.so.4 (0x00007f4170fb5000)
	libxcb-randr.so.0 => /usr/lib/libxcb-randr.so.0 (0x00007f4170daa000)
	libxcb-keysyms.so.1 => /usr/lib/libxcb-keysyms.so.1 (0x00007f4170ba8000)
	libxcb-util.so.1 => /usr/lib/libxcb-util.so.1 (0x00007f41709a2000)
	libxcb-xtest.so.0 => /usr/lib/libxcb-xtest.so.0 (0x00007f417079f000)
	libXft.so.2 => /usr/lib/libXft.so.2 (0x00007f417058a000)
	libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007f417037e000)
	libicudata.so.51 => /usr/lib/libicudata.so.51 (0x00007f416ec34000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f416ea16000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f416e811000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f416e5fb000)
	liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f416e3d8000)
	libreg.so => /usr/lib/libreoffice/program/../ure-link/lib/libreg.so (0x00007f416e1bc000)
	libunoidl.so => /usr/lib/libreoffice/program/../ure-link/lib/libunoidl.so (0x00007f416df93000)
	libcanvastoolslo.so => /usr/lib/libreoffice/program/libcanvastoolslo.so (0x00007f416dd58000)
	libcppcanvaslo.so => /usr/lib/libreoffice/program/libcppcanvaslo.so (0x00007f416db02000)
	librt.so.1 => /usr/lib/librt.so.1 (0x00007f416d8f9000)
	libxmlscriptlo.so => /usr/lib/libreoffice/program/libxmlscriptlo.so (0x00007f416d666000)
	libfwelo.so => /usr/lib/libreoffice/program/libfwelo.so (0x00007f416d3cb000)
	libjvmfwk.so => /usr/lib/libreoffice/program/../ure-link/lib/libjvmfwk.so (0x00007f416d1b1000)
	libfwklo.so => /usr/lib/libreoffice/program/libfwklo.so (0x00007f416cc8a000)
	libmsfilterlo.so => /usr/lib/libreoffice/program/libmsfilterlo.so (0x00007f416c9cd000)
	libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007f416c778000)
	libssl3.so => /usr/lib/libssl3.so (0x00007f416c52e000)
	libsmime3.so => /usr/lib/libsmime3.so (0x00007f416c301000)
	libnss3.so => /usr/lib/libnss3.so (0x00007f416bfc2000)
	libnssutil3.so => /usr/lib/libnssutil3.so (0x00007f416bd96000)
	libplds4.so => /usr/lib/libplds4.so (0x00007f416bb91000)
	libplc4.so => /usr/lib/libplc4.so (0x00007f416b98c000)
	libnspr4.so => /usr/lib/libnspr4.so (0x00007f416b74e000)
	libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f416b3f3000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f416b1a4000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f416aea6000)
	libharfbuzz-icu.so.0 => /usr/lib/libharfbuzz-icu.so.0 (0x00007f416aca2000)
	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f416aa4f000)
	libicule.so.51 => /usr/lib/libicule.so.51 (0x00007f416a7f7000)
	liblcms2.so.2 => /usr/lib/liblcms2.so.2 (0x00007f416a5a0000)
	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f416a384000)
	libcups.so.2 => /usr/lib/libcups.so.2 (0x00007f416a122000)
	libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0x00007f4169efa000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f4169cb3000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f4169a77000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f41697d4000)
	libjvmaccess.so => /usr/lib/libreoffice/program/../ure-link/lib/libjvmaccess.so (0x00007f41695cd000)
	/usr/lib64/ld-linux-x86-64.so.2 (0x00007f417a68f000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f41693c8000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f41691c2000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f4168fb7000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f4168db1000)
	libstore.so => /usr/lib/libreoffice/program/../ure-link/lib/libstore.so (0x00007f4168b93000)
	libfwilo.so => /usr/lib/libreoffice/program/libfwilo.so (0x00007f416894e000)
	libffi.so.6 => /usr/lib/libffi.so.6 (0x00007f4168745000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f4168541000)
	libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f41682d7000)
	libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f41680bf000)
	libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f4167e75000)
	libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f4167b96000)
	libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f4167961000)
	libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007f416775d000)
	libgnutls.so.28 => /usr/lib/libgnutls.so.28 (0x00007f4167455000)
	libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0x00007f4167248000)
	libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0x00007f4167037000)
	libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f4166dff000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f4166bd5000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f41669c4000)
	libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f41667b7000)
	libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007f41665b2000)
	libp11-kit.so.0 => /usr/lib/libp11-kit.so.0 (0x00007f4166391000)
	libtasn1.so.6 => /usr/lib/libtasn1.so.6 (0x00007f416617c000)
	libnettle.so.4 => /usr/lib/libnettle.so.4 (0x00007f4165f4e000)
	libhogweed.so.2 => /usr/lib/libhogweed.so.2 (0x00007f4165d1f000)
	libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007f4165aa7000)

Offline

#6 2013-09-14 20:11:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,094

Re: [SOLVED] libreoffice fails to open documents, libswlo.so failed

% pkgfile libswdlo.so
extra/libreoffice-writer

Do you have Writer installed? If so, reinstall. If not, try installing it.

Offline

#7 2013-09-14 20:21:17

01
Member
Registered: 2013-09-14
Posts: 10

Re: [SOLVED] libreoffice fails to open documents, libswlo.so failed

Scimmia wrote:

% pkgfile libswdlo.so
extra/libreoffice-writer

Do you have Writer installed? If so, reinstall. If not, try installing it.

Solved; I forgot to reinstall this as well.

Offline

#8 2013-09-14 20:28:52

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,094

Re: [SOLVED] libreoffice fails to open documents, libswlo.so failed

Was this only happening in Writer? If it was happening in other LibreOffice programs, a bug report needs filed - they should not require Writer to be installed.

Offline

#9 2013-09-14 20:42:40

01
Member
Registered: 2013-09-14
Posts: 10

Re: [SOLVED] libreoffice fails to open documents, libswlo.so failed

Just writer---libreoffice/calc worked fine.

Offline

#10 2013-09-18 16:02:59

zenolijo
Member
Registered: 2013-03-19
Posts: 36

Re: [SOLVED] libreoffice fails to open documents, libswlo.so failed

Had the exact same issue, and removing libswdlo.so then reinstalling libreoffice-writer and libreoffice-common fixed it!

Offline

#11 2013-11-27 12:53:46

NMigo
Member
Registered: 2012-05-03
Posts: 10

Re: [SOLVED] libreoffice fails to open documents, libswlo.so failed

Thanks installing  libreoffice-writer solve it for me, forgot to select it when installing from meta-package.

Offline

#12 2014-04-17 05:54:57

dureyes
Member
Registered: 2014-01-02
Posts: 3

Re: [SOLVED] libreoffice fails to open documents, libswlo.so failed

Thanks NMigo, that solved my error message.  Can not understand why it is not installed by default.

Offline

#13 2014-12-08 11:31:01

erkexzcx
Banned
From: Kaunas
Registered: 2014-09-28
Posts: 77

Re: [SOLVED] libreoffice fails to open documents, libswlo.so failed

Solved as well. My own problem was that I installed "libreoffice-lt" along with plugins&extensions, but not the actual libreoffice big_smile


Allergic to admins&moderators. They scare me.

Offline

#14 2024-07-08 11:47:04

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 605

Re: [SOLVED] libreoffice fails to open documents, libswlo.so failed

I just stumbled upon the same issue. In case anybody finds this thread via forums or web search: For me, the reason for the error was that one of the LO apps was still running during/after the update. After closing all LO apps, the error disappeared and they could be launched without issues.


Desktop: http://www.sysprofile.de/id15562, Arch Linux    |    Notebook: Thinkpad L13 Yoga Gen2, Manjaro

The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work.  -  Tuomas Lukka

Offline

#15 2024-07-08 16:07:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,210

Re: [SOLVED] libreoffice fails to open documents, libswlo.so failed

Using this opportunity to close this 10 year old thread.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB