LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-30-2019, 12:00 PM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,477
Blog Entries: 19

Rep: Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409
Libreoffice Draw and Impress seem to need avahi


All other LO components work, but Draw and Impress (which is closely related to Draw) do not. In the case of Draw, I get the message "loading component library <file:///usr/lib/libreoffice/program/../program/libsdlo.so> failed". Impress fails silently when called from the LO launcher but crashes LO when called from the New Presentation button.

The library libsdlo.so is present but cannot link to two avahi libraries which are not present in standard Slackware (though there is a slackbuild for avahi). I can understand why Pat doesn't want to include it; it's one of those bits of bumf that Poettering invented.

This reported bug from an Arch user gives more detail. The suggestion there is to build LO with avahi disabled.
 
Old 01-30-2019, 12:08 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104
Well that's the expected behaviour when you install the binaries compiled by the Document Foundation - they do not use Slackware.
You can use my pre-built Slackware packages (built on Slackware, no need for any other package) or compile LibreOffice from source yourself (requires 10s of GB of RAM and 100s of GB of temporary storage as well as a lot of time to compile errorfree).
 
4 members found this post helpful.
Old 01-30-2019, 03:05 PM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,477

Original Poster
Blog Entries: 19

Rep: Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409
Unfortunately your version does not run at all on my system! It fails with the message
Code:
terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException'


Fatal exception: Signal 6
Stack:
/usr/lib64/libreoffice/program/libuno_sal.so.3(+0x5752e)[0x7fb18ba8952e]
/usr/lib64/libreoffice/program/libuno_sal.so.3(+0x57756)[0x7fb18ba89756]
/usr/lib64/libreoffice/program/libuno_sal.so.3(+0x578f4)[0x7fb18ba898f4]
..........................
I gather signal 6 is SIGABRT, a deliberate abort by a library that has detected an internal error.

Last edited by hazel; 01-30-2019 at 03:08 PM.
 
Old 01-30-2019, 04:12 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104
Hazel try if this helps: edit the profile script “/etc/profile.d/libreoffice.sh” and un-comment the line “export SAL_USE_VCLPLUGIN=gtk3” to force LibreOffice to use GTK+3 as the widget set. Then logout/login again and start LibreOffice.
 
Old 01-30-2019, 11:18 PM   #5
philanc
Member
 
Registered: Jan 2011
Posts: 306

Rep: Reputation: 270Reputation: 270Reputation: 270
Quote:
Originally Posted by hazel View Post
All other LO components work, but Draw and Impress (which is closely related to Draw) do not. In the case of Draw, I get the message "loading component library <file:///usr/lib/libreoffice/program/../program/libsdlo.so> failed". Impress fails silently when called from the LO launcher but crashes LO when called from the New Presentation button.

The library libsdlo.so is present but cannot link to two avahi libraries which are not present in standard Slackware
I have installed the stock libreoffice-6.1 from libreoffice.org.

The two missing libraries are libavahi-client.so.3 and libavahi-common.so.3

I just built two dummy/empty libraries with these names:
Code:
gcc -shared -o libavahi-client.so.3 -x c - < /dev/null 
gcc -shared -o libavahi-common.so.3 -x c - < /dev/null
and moved them in the libreoffice 'program/' directory.

Not very clean, but it does the job!

(Note: the two libs are used by LO impress to handle a remote control during a presentation. Of course the remote control interface doesn't work with my dummy libs!)
 
4 members found this post helpful.
Old 01-31-2019, 02:51 AM   #6
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
According to SlackBuilds libreoffice now requires jdk and avahi. See https://slackbuilds.org/repository/1...e/libreoffice/

avahi is available for download from SlackBuilds.

I recently installed avahi on my system when I noted the dependancy.

I build avahi then libreoffice

I've not seen any problems, impress and draw both load cleanly.
 
Old 01-31-2019, 09:28 AM   #7
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,477

Original Poster
Blog Entries: 19

Rep: Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409
Quote:
Originally Posted by Alien Bob View Post
Hazel try if this helps: edit the profile script “/etc/profile.d/libreoffice.sh” and un-comment the line “export SAL_USE_VCLPLUGIN=gtk3” to force LibreOffice to use GTK+3 as the widget set. Then logout/login again and start LibreOffice.
No, that didn't do it. Not even when I rebooted (though I can confirm that the SAL_USE_VCLPLUGIN is set correctly).

My plan now is to reinstall the standard slackbuild version, then build avahi from its slackbuild, explode the package and copy over the two requested libraries. But I'd like to avoid having to download the whole thing again. That takes ages and eats into my monthly data allowance.

In my /tmp/SBo directory, I have a directory called package-libreoffice which seems to contain what I want. Could I tar it up into an installable package?

I was thinking of something like
Code:
tar -cJf libreoffice-6.1.4-x86_64-1_SBo.txz /tmp/SBo/package-libreoffice
 
Old 01-31-2019, 09:30 AM   #8
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by hazel View Post
In my /tmp/SBo directory, I have a directory called package-libreoffice which seems to contain what I want. Could I tar it up into an installable package?

I was thinking of something like
Code:
tar -cJf libreoffice-6.1.4-x86_64-1_SBo.txz /tmp/SBo/package-libreoffice
You would want to use makepkg instead. Take a look at the last line of the libreoffice SlackBuild for the proper way to do it.

PS philanc's solution seems good if you don't care about the lost functionality and you don't want to actually download/build avahi.

Last edited by montagdude; 01-31-2019 at 09:31 AM.
 
1 members found this post helpful.
Old 01-31-2019, 11:11 AM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,477

Original Poster
Blog Entries: 19

Rep: Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409
Great! Everything now works. I must say those dummy libraries are a clever wheeze. I would never have thought of that. Thanks philanc! And thank you Eric and MontagDude too.

Incidentally it's quite nice that Slackware has its /tmp on the root partition and not as a tmpfs. But it means I'll have to keep an eye on it and clean it up from time to time.

Last edited by hazel; 01-31-2019 at 11:31 AM.
 
1 members found this post helpful.
Old 01-31-2019, 11:48 AM   #10
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
In the case of Draw, I get the message "loading component library <file:///usr/lib/libreoffice/program/../program/libsdlo.so> failed". Impress fails silently when called from the LO launcher but crashes LO when called from the New Presentation button.
The topic was discussed last month.
 
Old 01-31-2019, 11:59 AM   #11
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,477

Original Poster
Blog Entries: 19

Rep: Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409Reputation: 4409
I should have done a search before posting, shouldn't I! But I always forget.
 
Old 01-31-2019, 12:11 PM   #12
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
But I always forget.
Been there done that. People ask me if I believe in a here after.

"Oh yes!" I reply. "Every time I walk into a room I pause and ask myself, 'Now, what I am I here after?'"
 
1 members found this post helpful.
Old 04-03-2022, 05:25 AM   #13
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
oops right post, wrong thread !

Last edited by kjhambrick; 04-03-2022 at 05:26 AM.
 
Old 04-03-2022, 05:28 AM   #14
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by philanc View Post
I have installed the stock libreoffice-6.1 from libreoffice.org.

The two missing libraries are libavahi-client.so.3 and libavahi-common.so.3

I just built two dummy/empty libraries with these names:
Code:
gcc -shared -o libavahi-client.so.3 -x c - < /dev/null 
gcc -shared -o libavahi-common.so.3 -x c - < /dev/null
and moved them in the libreoffice 'program/' directory.

Not very clean, but it does the job!

(Note: the two libs are used by LO impress to handle a remote control during a presentation. Of course the remote control interface doesn't work with my dummy libs!)
OMG ! You're a genius, philanc

I will try to keep this workaround in my bag of tricks ( if only I can remember it when I need it ( with apologies to hazel ))

Thanks !

-- kjh
 
Old 12-07-2022, 11:44 AM   #15
Cabbie001
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware64 15.0; Devuan Beowulf 3.0 (64bit)
Posts: 169

Rep: Reputation: Disabled
Quote:
Originally Posted by kjhambrick View Post
OMG ! You're a genius, philanc

I will try to keep this workaround in my bag of tricks ( if only I can remember it when I need it ( with apologies to hazel ))

Thanks !

-- kjh
Hello people. I've been struggling with this LibreOffice Impress failure for some time and only recently stumbled upon this article from Linux Journal: https://www.linuxjournal.com/content...e-slackware-15
Aside from describing the same LibreOffice install method I've been using (wholesale conversion of the RPM files to tgz, then pkginstall of each tgz), he then points out the subsequent failure of Draw & Impress are due to the absence of Avahi & libdaemon. He describes compiling both libdaemon & avahi from source, but as we know there is a SlackBuild for avahi now. Note that libdaemon installs in /usr/local/lib and the PKG_CONFIG_PATH variable needs to be updated to reflect that in order for the avahi compile to complete.
Outcome: SUCCESS! LibreOffice now opens powerpoint (.pps) files just fine.
 
3 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PSA: slackbuild.org RPM LibreOffice Draw dependency with avahi upnort Slackware 8 12-28-2018 02:30 AM
Can't get avahi to install (trying to get Netatalk and Avahi running) MarcusWebb1966 Gentoo 4 07-28-2011 03:55 AM
LXer: Creating diagrams in OpenOffice.org Draw and Impress LXer Syndicated Linux News 0 05-18-2010 04:40 PM
LXer: Graphic styles in OpenOffice.org Draw and Impress LXer Syndicated Linux News 0 11-30-2009 05:20 PM
OpenOffice Impress doesn't Impress me newbiesforever Linux - Software 13 04-04-2007 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration