SliTaz SliTaz Forum

You are not logged in.

#1 2018-09-10 19:26:52

R8
Member
Registered: 2015-08-20
Posts: 143

LibreOffice problems (libsdlo.so)

Hello,

I installed LibreOffice (on my 32bits laptop):

Package manager ==> get-LibreOffice ==> Terminal ==> get-LibreOffice

Installation OK (after 40 min).

No problems with LibreOffice Writer, Calc, Math, Base.

But 2 problems:

1/

LibreOffice Impress doesn't start (and no error message).

2/

Error message for LibreOffice Draw:

-------------------------------------------------------------------------------------------------------

Component cannot be loaded, possibly broken or incomplete installation.

Full error message:

loading component library

<file:///usr/lib/libreoffice6.1/program/../program/libsdlo.so> failed.

-------------------------------------------------------------------------------------------------------

How can I fix the problem?

I made 3 times the installation and always same problem.

I found a link with the same problem (on archlinux) but I don't understand the solution:

https://bugs.archlinux.org/task/45100

Thank you for your help!

Offline

#2 2018-09-14 21:08:45

lm2
Member
Registered: 2017-02-16
Posts: 155

Re: LibreOffice problems (libsdlo.so)

hi

uninstall every kind of LO installation

try this :

http://slitaz.free.fr/index.php?post/2018/01/02/Libreoffice-slitaz-dont-fuck-anymore-with-get-something

if it doesnt works, take an afternoon or a daytime, list all LO methods of install (get, tazpkg, tar gz..) and try them one by one until it will work.

slitaz have a LOTS of disadvantages such as many linuxes, and doesn't reacts in the same way from a version to another.

my advice is so to try, to test, to experiment what you  try to do, such as install LO, by several ways saw on the wiki/forum/internet, then give us the solution here.

in my tiny yrs taz exp, i had to go through at least four or five differents ways of installing slitaz (from v3 up to rolling or cooking) and LO, because it's never working on the first time.

luck! smile

Offline

#3 2018-09-14 21:10:52

lm2
Member
Registered: 2017-02-16
Posts: 155

Re: LibreOffice problems (libsdlo.so)

and btw regarding your lib problem, just know my personal quote :

when the software is telling you libsomething is missing, just downgrade the software, just upgrade it, just downgrade your linux, just upgrade it, or definitely forget it: do you want an installed and working software or several hours lost?

i mean linux is very good when software are working, that's the great side.

But all software are not working at the first time, it's legend.

Offline

#4 2018-09-21 10:03:35

terrybull
Member
Registered: 2011-11-06
Posts: 127

Re: LibreOffice problems (libsdlo.so)

I had a similar problem recently which I spent an age trying to resolve but the solution was simple in the end. Go to

http://cook.slitaz.org/next/LibreOffice/download

and download and install the appropriate package.

The full thread of my issue is here. Scroll to the end for the solution.

http://forum.slitaz.org/topic/libreoffice-installation-1

Offline

#5 2018-09-21 20:31:08

R8
Member
Registered: 2015-08-20
Posts: 143

Re: LibreOffice problems (libsdlo.so)

Hello lm2 and terrybull,

Thank you for your answers. I will try to find time in a few days to fix the problem, following your solutions.

Offline

#6 2018-09-24 13:46:38

R8
Member
Registered: 2015-08-20
Posts: 143

Re: LibreOffice problems (libsdlo.so)

Hello,

I tried 2 things:

1/Download and install the version here: http://cook.slitaz.org/next/LibreOffice/download

==> same problem

2/Download and install an older version: http://slitaz.free.fr/public/LibreOffice-5.4.0.tazpkg

==> problem solved!

But now how can I update to the latest version?

Offline

#7 2018-10-07 19:39:19

R8
Member
Registered: 2015-08-20
Posts: 143

Re: LibreOffice problems (libsdlo.so)

Hi,

Here a new explication for this problem:

https://bugs.documentfoundation.org/show_bug.cgi?id=119408

There is a dependency to 'avahi' on recent LibreOffice versions but no package 'avahi' available on SliTaz.

Anyone a solution? Is it possible to compile 'avahi' and add it as package?

Thank you

Offline

#8 2018-10-15 17:20:57

R8
Member
Registered: 2015-08-20
Posts: 143

Re: LibreOffice problems (libsdlo.so)

Hi,

On the mailing list of LibreOffice, I finally received an answer from lj. His answer:

Here is the work-around I use in order to run LibreOffice 6.0.6 on my Linux

system which does not have Avahi. This fixes the problem with Draw and

Impress not starting. I have not tested it with 6.1 but it probably works.

1. Place the following single line in a file "libavahi-client.c":

int avahi_client_new(void) { return 0; }

2. Place the following single line in a file "libavahi-common.c":

int avahi_threaded_poll_new(void) { return 0; }

3. Compile the two files into shared libraries by typing the following at

shell prompts (or place them into a script or Makefile):

     gcc -c libavahi-client.c libavahi-common.c

     gcc -shared -o libavahi-client.so.3 libavahi-client.o

     gcc -shared -o libavahi-common.so.3 libavahi-common.o

4. Copy those 2 shared libraries into the LibreOffice program directory.

The path below is for 6.0.x installation using the downloads from the

LibreOffice site. Adapt it to your system as necessary. This probably needs

to be done as root (but there are alternatives such as using a different

directory and the LD_LIBRARY_PATH environment variable).

     cp libavahi-*.so.3 /opt/libreoffice6.0/program/

That's it. Draw and Impress should work fine now, with one exception: do

not try to use Impress remote control. That's the only thing that really does

require Avahi.

Offline

#9 2018-10-19 16:46:53

lindrix
Member
Registered: 2018-10-19
Posts: 2

Re: LibreOffice problems (libsdlo.so)

Hi! In LibreOffice 6.1, change the line cp libavahi-*.so.3 /opt/libreoffice6.0/program/ to:

cp libavahi-*.so.3 /usr/lib/libreoffice/libreoffice6.1/program/

or

cp libavahi-*.so.3 /usr/lib/libreoffice6.1/program/

in some installations...

Here is fine with change.

Offline

#10 2018-10-19 20:11:57

R8
Member
Registered: 2015-08-20
Posts: 143

Re: LibreOffice problems (libsdlo.so)

Hi lindrix,

I don't know if this should be a solution for my problem, because there is no libavahi available on (my) SliTaz.

For me, the solution I received on the mailing list from LO was OK.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 9 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]