LinuxQuestions.org
Visit Jeremy's Blog.
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
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 2,980
Blog Entries: 7

Rep: Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559
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: 7,544

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
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).
 
3 members found this post helpful.
Old 01-30-2019, 03:05 PM   #3
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 2,980

Original Poster
Blog Entries: 7

Rep: Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559
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: 7,544

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
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: 194

Rep: Reputation: 153Reputation: 153
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!)
 
1 members found this post helpful.
Old 01-31-2019, 02:51 AM   #6
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 588

Rep: Reputation: 64
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
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 2,980

Original Poster
Blog Entries: 7

Rep: Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559
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: 1,495

Rep: Reputation: 1113Reputation: 1113Reputation: 1113Reputation: 1113Reputation: 1113Reputation: 1113Reputation: 1113Reputation: 1113Reputation: 1113
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
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 2,980

Original Poster
Blog Entries: 7

Rep: Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559
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
Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 940

Rep: Reputation: Disabled
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
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 2,980

Original Poster
Blog Entries: 7

Rep: Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559
I should have done a search before posting, shouldn't I! But I always forget.
 
Old 01-31-2019, 12:11 PM   #12
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 940

Rep: Reputation: Disabled
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.
  


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 10:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration