LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 05-14-2020, 08:31 AM   #1
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Rep: Reputation: 37
Rock Pi 4 - Slarm64: Failure launching LibreOffice


Hi,
on my Rock Pi 4 with slarm64 as OS, I've installed LibreOffice 6.4.0.3 from http://dl.fail.pp.ua/slackware/packages/aarch64/xap/.
First it failed launching, throwing the error message:
Code:
/usr/lib64/libreoffice/program/soffice.bin: error while loading shared libraries: libboost_locale.so.1.72.0: cannot open shared object file: No such file or directory
Installed is boost 1.73, so I did a quick and dirty fix (as root):
Code:
cd /usr/lib64/
for L in libboost_*1.73.0; do ln -sv "$L" "${L//73/72}"; done
Now it starts to launch without any error on CLI, but stops with a small error message dialog window (screenshot attached).
BTW, I'm running the MATE desktop 1.24 as GUI (compiled from msb github page).

Any Idea how to fix that?
Attached Thumbnails
Click image for larger version

Name:	Screenshot_LibreOffice_6.4.0.3-aarch64-Failure.png
Views:	25
Size:	11.6 KB
ID:	33204  
 
Old 05-14-2020, 11:45 AM   #2
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,907

Rep: Reputation: Disabled
thanks slacksam, need to rebuild/update.

Last edited by sndwvs; 05-14-2020 at 10:49 PM.
 
Old 05-14-2020, 09:42 PM   #3
shelldweller
Member
 
Registered: Mar 2019
Distribution: Slackware
Posts: 300

Rep: Reputation: Disabled
This should work on an updated slarm64 (w/ boost 1.73), no extra dependencies needed:


https://3space.xyz/pineslarm/package...-3_shldwlr.tgz

https://3space.xyz/pineslarm/package...hldwlr.tgz.md5
 
Old 05-14-2020, 10:51 PM   #4
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,907

Rep: Reputation: Disabled
update libreoffice-6.4.3.2-aarch64-1mara.txz
 
Old 05-15-2020, 07:34 AM   #5
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Original Poster
Rep: Reputation: 37
Thank for the updates.
I tested both versions, but I always get the error message dialog box, shown in the screenshot of my first post.
That's not only in a MATE desktop session but also in a fluxbox session the same error message pops up when trying to launch LO.
 
Old 05-15-2020, 08:14 AM   #6
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,907

Rep: Reputation: Disabled
which shows: ldd /usr/lib64/libreoffice/program/soffice.bin

Code:
ldd /usr/lib64/libreoffice/program/soffice.bin | grep boost
	libboost_locale.so.1.73.0 => /usr/lib64/libboost_locale.so.1.73.0 (0x0000007fa69b1000)
	libboost_system.so.1.73.0 => /usr/lib64/libboost_system.so.1.73.0 (0x0000007fa5d1b000)
	libboost_iostreams.so.1.73.0 => /usr/lib64/libboost_iostreams.so.1.73.0 (0x0000007fa5cf2000)
	libboost_filesystem.so.1.73.0 => /usr/lib64/libboost_filesystem.so.1.73.0 (0x0000007fa5cc7000)
	libboost_chrono.so.1.73.0 => /usr/lib64/libboost_chrono.so.1.73.0 (0x0000007fa5bfe000)
	libboost_thread.so.1.73.0 => /usr/lib64/libboost_thread.so.1.73.0 (0x0000007fa5bcc000)
maybe one of the dependent libraries refers to the old boost.

Last edited by sndwvs; 05-15-2020 at 08:19 AM.
 
Old 05-15-2020, 08:57 AM   #7
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Original Poster
Rep: Reputation: 37
Code:
$ ldd /usr/lib64/libreoffice/program/soffice.bin  | grep boost
    libboost_system.so.1.73.0 => /usr/lib64/libboost_system.so.1.73.0 (0x0000ffff988a2000)
    libboost_locale.so.1.73.0 => /usr/lib64/libboost_locale.so.1.73.0 (0x0000ffff90f10000)
    libboost_iostreams.so.1.73.0 => /usr/lib64/libboost_iostreams.so.1.73.0 (0x0000ffff903e3000)
    libboost_filesystem.so.1.73.0 => /usr/lib64/libboost_filesystem.so.1.73.0 (0x0000ffff903b8000)
    libboost_chrono.so.1.73.0 => /usr/lib64/libboost_chrono.so.1.73.0 (0x0000ffff902d1000)
    libboost_thread.so.1.73.0 => /usr/lib64/libboost_thread.so.1.73.0 (0x0000ffff9029d000)
The boost error message for which I made the symlinks shown in my first post are gone.
The only error message I still get is on the GUI (see screenshot image in my first post).
 
Old 05-15-2020, 09:21 AM   #8
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,907

Rep: Reputation: Disabled
I do not show this behavior, DE XFCE.
 
Old 05-15-2020, 07:09 PM   #9
shelldweller
Member
 
Registered: Mar 2019
Distribution: Slackware
Posts: 300

Rep: Reputation: Disabled
I also am not getting any error dialogs; using JWM as my DE, FWIW.

Have you tried one of the stock DE's by chance? XFCE is probably the easiest to check. It would be good to rule out MATE as the culprit.

Last edited by shelldweller; 05-15-2020 at 07:10 PM.
 
Old 05-16-2020, 09:20 AM   #10
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,907

Rep: Reputation: Disabled
I tested in kde.
Attached Thumbnails
Click image for larger version

Name:	kde_libreoffice.jpg
Views:	19
Size:	258.5 KB
ID:	33212  
 
Old 05-16-2020, 06:24 PM   #11
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,907

Rep: Reputation: Disabled
I tested in mate 1.24.
Attached Thumbnails
Click image for larger version

Name:	mate_libreoffice.png
Views:	13
Size:	170.4 KB
ID:	33220  
 
Old 05-18-2020, 01:37 PM   #12
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Original Poster
Rep: Reputation: 37
Thanks for testing and confirming that it's working for you.
Now I also tested it in Xfce and KDE, all with the same error message in a GUI popup window.
So there's something wrong with my system, a missing package or configuration, I guess. LibreOffice seems to be the only program showing this error.
All other installed office programs like Scribus, Gnumeric, Inkcape, Calligra and Lyx work perfectly fine. So I think I'll stick with those instead of LibreOffice until I find out what's wrong.
 
Old 05-18-2020, 01:53 PM   #13
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,907

Rep: Reputation: Disabled
it's a pity, I would look ldd for the lack of missing libraries, and you can also try to create a new user and try on his desktop.
but they added support for aarch64 in msb
 
1 members found this post helpful.
Old 05-18-2020, 02:56 PM   #14
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Original Poster
Rep: Reputation: 37
Now I created a new user account, made no changes in the profile settings and tested it in Xfce and MATE, but still no success.
Attached Files
File Type: txt ldd_soffice.txt (9.9 KB, 13 views)

Last edited by slacksam; 05-18-2020 at 04:11 PM. Reason: Attached output of ldd command
 
Old 03-20-2021, 05:24 AM   #15
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Original Poster
Rep: Reputation: 37
LibreOffice is working now on my machine, but I don't know why it didn't before. Maybe one of the latest package updates did it make work.

However, this is solved.
 
  


Reply



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
LXer: Rock Pi 4C variant adds mini-DP while Rock Pi E offers dual LAN LXer Syndicated Linux News 0 10-03-2019 07:12 AM
ROCK-esque "distro", but not ROCK? piete Linux - Distributions 5 08-21-2006 04:41 PM
Rock Linux -- does it rock ?? rolando Linux - Distributions 2 10-10-2004 01:52 PM

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

All times are GMT -5. The time now is 08:12 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