LinuxQuestions.org
Review your favorite Linux distribution.
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 05-11-2020, 04:35 PM   #1
gauchao
Member
 
Registered: Dec 2009
Location: Veneto
Distribution: SLACKWARE 14.2 64bit and 64-current
Posts: 248

Rep: Reputation: 54
Libreoffice not working after May 11st 2020 Slack64-current upgrade


Libreoffice 6.4.3 (Slackware -current 64) from AlienBOB's repository.

Everything was working fine, until system has been upgraded to May 11st changes. Slackware 64-current almost out-of-the-box.

Error message from console:

Quote:
bash-5.0$ libreoffice
Warning: failed to read path from javaldx
/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
And then, back to the prompt.

Any ideas? Thank you!
 
Old 05-11-2020, 04:41 PM   #2
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 6,200

Rep: Reputation: 2429Reputation: 2429Reputation: 2429Reputation: 2429Reputation: 2429Reputation: 2429Reputation: 2429Reputation: 2429Reputation: 2429Reputation: 2429Reputation: 2429
Quote:
Originally Posted by gauchao View Post
Libreoffice 6.4.3 (Slackware -current 64) from AlienBOB's repository.

Everything was working fine, until system has been upgraded to May 11st changes. Slackware 64-current almost out-of-the-box.
I have the same experience. I'm using Calligra Words until this gets sorted out.
 
Old 05-11-2020, 04:44 PM   #3
kgha
Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 270

Rep: Reputation: 178Reputation: 178
It's the upgraded boost package that causes this. Install AlienBob's latest boost-compat package and you're good.

Last edited by kgha; 05-12-2020 at 01:44 AM.
 
5 members found this post helpful.
Old 05-11-2020, 04:48 PM   #4
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 -current (started with 13.37(32))
Posts: 542

Rep: Reputation: 234Reputation: 234Reputation: 234
This is due to the libboost upgrade.
A workaround is to create some symlinks, libboost_locale, libboost_system, libboost_iostreams and libboost_filesystem,
in other place than /usr/lib64 to not polute the system,
then run LibreOffice with 'LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path-to-links libreoffice'

I don't know if this has side effects on LibreOffice functionality.
I had to run it today and it worked ok.

edit- kgha beat me to it and offered the proper solution

Last edited by Paulo2; 05-11-2020 at 04:51 PM.
 
1 members found this post helpful.
Old 05-11-2020, 05:13 PM   #5
gauchao
Member
 
Registered: Dec 2009
Location: Veneto
Distribution: SLACKWARE 14.2 64bit and 64-current
Posts: 248

Original Poster
Rep: Reputation: 54
Thank you guys! I have installed boost-compat from AlienBOB's repository and libreoffice is running again.
 
Old 05-11-2020, 06:44 PM   #6
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,631

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Quote:
Originally Posted by gauchao View Post
Thank you guys! I have installed boost-compat from AlienBOB's repository and libreoffice is running again.
This, by the way, is true for all 3rd party packages that depend on libboost.
As soon as - in this case - AlienBob has recompiled LibreOffice you won't need the boost-compat package anymore, but you may as well leave it as installed, it doesn't hurt, just contains older versions of the libboost libraries. When next time the boost package is updated you will need a NEWER version of boost-compat again, as now it will have to include the just replaced version of the library too.
 
2 members found this post helpful.
Old 05-11-2020, 08:43 PM   #7
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 975
Blog Entries: 10

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
ugh. I hate to have extra complexity. just bumped into boost-1.73 glitch compiling gridcoinresearch gui after recent updates (thought at 1st it was qt5-5.13). weird that just doing symlinks and 'LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path-to-links' works for libreoffice and gridcoinresearch; which is my stop gap for now.
 
Old 05-11-2020, 09:27 PM   #8
gauchao
Member
 
Registered: Dec 2009
Location: Veneto
Distribution: SLACKWARE 14.2 64bit and 64-current
Posts: 248

Original Poster
Rep: Reputation: 54
What does boost-compat do? And boost?
 
Old 05-11-2020, 10:30 PM   #9
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,631

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Quote:
Originally Posted by gauchao View Post
What does boost-compat do? And boost?
boost are libraries for C++ programs to implement fast standard functions for many algorithmns. It saves the developer having to REinvent the wheel:
Quote:
Use of high-quality libraries like Boost speeds initial development, results in fewer bugs, reduces reinvention-of-the-wheel, and cuts long-term maintenance costs. And since Boost libraries tend to become de facto or de jure standards, many programmers are already familiar with them.
The problem with boost is that every release is a major one, so that all applications that use them will have to be recompiled. The boost-compat packages in effect bundles some of the older releases' libraries, so that applications, compiled against those older libraries, will still work. This gives the packager of those applications a bit more time to recomnpile them, while the user can still use the application.
Pat himself will recompile all of the standard applications every time he upgrades boost, but 3rd party applications often need a bit more time.

From the -current ChangeLog:
Code:
Sat May  9 20:49:43 UTC 2020
ap/pamixer-1.4-i586-5.txz:  Rebuilt.
  Recompiled against boost-1.73.0.
kde/calligra-2.9.11-i586-35.txz:  Rebuilt.
  Recompiled against boost-1.73.0.
l/akonadi-1.13.0-i586-15.txz:  Rebuilt.
  Recompiled against boost-1.73.0.
l/boost-1.73.0-i586-1.txz:  Upgraded.
  Shared library .so-version bump.
so the major version of boost is now 73 (1.73) and several other packages had to be recompiled against it.

That's why alien created boost-compat, it contains the 72, 71, 70 as well as some of the 6x versions of those shared libraries, so non-recompiled programs still can find them.

Last edited by ehartman; 05-12-2020 at 12:19 AM.
 
3 members found this post helpful.
Old 05-11-2020, 10:32 PM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,962

Rep: Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643
Quote:
Originally Posted by gauchao View Post
What does boost-compat do? And boost?
This is the wikipedia page on boost and I'm just going to copy the top line.

Quote:
Boost is a set of libraries for the C++ programming language that provide support for tasks and structures such as linear algebra, pseudorandom number generation, multithreading, image processing, regular expressions, and unit testing.
As for boost-compat, whenever boost is updated, it breaks anything that links against, it, including libreoffice. The boost-compat package contains the older versions that previous programs were built against so they can function until they can be recompiled. Once libreofice is updated, you should be able to remove boost-compat package until boost is upgraded again.
 
2 members found this post helpful.
Old 05-12-2020, 01:44 AM   #11
kgha
Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 270

Rep: Reputation: 178Reputation: 178
Quote:
Originally Posted by bassmadrigal View Post
Once libreofice is updated, you should be able to remove boost-compat package until boost is upgraded again.
Provided, of course, that libreoffice is the only 3rd party application in your system that needs boost. There might be others. And there's no need to remove boost-compat, it won't create conflicts.

I always keep Eric's invaluable boost-compat, icu4c-compat and poppler-compat packages on my system to avoid nasty surprises. And here's his exhaustive explanation on what's happening when boost, icu4c, or poppler gets and upgrade, well worth storing in memory:

https://alien.slackbook.org/blog/lib...-version-bump/

Last edited by kgha; 05-12-2020 at 02:22 AM.
 
5 members found this post helpful.
Old 05-12-2020, 10:32 AM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,962

Rep: Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643Reputation: 4643
Quote:
Originally Posted by kgha View Post
Provided, of course, that libreoffice is the only 3rd party application in your system that needs boost. There might be others. And there's no need to remove boost-compat, it won't create conflicts.
Good point. I don't run -current and while I pretty much only see complaints about libreoffice being broken when boost is updated, it's likely there's other programs out there as well.
 
2 members found this post helpful.
Old 05-12-2020, 11:59 AM   #13
Luckylin
LQ Newbie
 
Registered: May 2020
Location: Brasil
Distribution: Arch Linux ; Slackware
Posts: 1

Rep: Reputation: Disabled
Thanks for the info, I use Slack current and I had this problem yesterday, with Libreoffice 6.4.3. I will use 5.1 until the correction.
 
Old 05-13-2020, 06:59 AM   #14
gauchao
Member
 
Registered: Dec 2009
Location: Veneto
Distribution: SLACKWARE 14.2 64bit and 64-current
Posts: 248

Original Poster
Rep: Reputation: 54
Thank you guys for all the useful information.

Since I have migrated from 14.2 to -Current some months ago, I haven't faced this kind of library bump yet.

I will keep it in mind and watch more closely the changelogs.

Mr Eric has explained it very clearly in his blog (https://alien.slackbook.org/blog/lib...-version-bump/).

I will marked this one as solved.

Thank you and stay safe!
 
Old 05-17-2020, 04:47 AM   #15
dchmelik
Member
 
Registered: Nov 2008
Location: Washington state, USA
Distribution: FreeBSD Unix, Slackware, FreeSlack GNU/Linux, OpenBSD Unix, FreeDOS
Posts: 460

Rep: Reputation: 51
Installed alienBOB's boost-compat-1.73, libreoffice-6.4.3... nothing happened. What has been omitted, or what else might've gone wrong?
 
  


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
LXer: Akademy 2020 and GUADEC 2020 Linux Events Move to Online Conferences LXer Syndicated Linux News 0 04-18-2020 03:33 AM
LXer: CoreOS Container Linux Will No Longer Be Supported After May 26, 2020 LXer Syndicated Linux News 0 02-16-2020 04:33 AM
merge multiple files each with two columns. 11st col same but may have difft values newbie271 Linux - Newbie 2 01-10-2012 06:03 PM
Slack64 13.1 multilib: skype 2.1.0.81 not working after glibc upgrade. Tinkster Slackware 7 12-20-2010 10:22 AM
slack64 -current won't upgrade wingevil Slackware 6 08-17-2009 11:01 PM

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

All times are GMT -5. The time now is 03:27 PM.

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