SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Looks like liblangtag version 0.6.7 is compiling fine. It also seems like liblangtag internal version in LibreOffice is 0.6.3, the one that fails. I had to specifically add in the ./configure part, to make use of the system-wide installed liblangtag, which seems to be missing (in SlackBuild).
The $liblangtag option has already been included in the existing update (to handle libxml problems) for this weekend's SBo global update.
The actual version of liblangtag is another issue though - I'm not sure whether liblangtag maintainer is active at the moment.
chris
EDIT: building liblangtag 0.6.7 on 15.0 fails due to error: 'Autoconf version 2.71 or higher is required'
EDIT 2: most recent version suitable for 15.0 is liblangtag-0.6.4. I have tested this version with minor changes to fix compilation errors (missing free()) on 32 & 64bit versions of 15.0 and it works fine. All OK for -current 64bit too. My 32bit VM is currently undergoing major update (sooo long since I've used it) before I can test there but I'm pretty confident it'll be OK. With that in mind, I've emailed the maintainer about a version update & compilation fix.
Last edited by chris.willing; 12-13-2023 at 08:18 PM.
I am using an older version of Libre Office (7.3.1.3, using a package from SlackOnly).
Draw failed to run for me today, popping up an error message about failing to load /usr/lib64/libreoffice/program/libsdlo.so. That particular library shows libxml2.so as a dependency, which I had upgraded on December 10 when the new version came available.
Installed the next libxml2 version (2.12.3) on my Slackware 15.0 64-bit system today and the same error came back. Downgraded back to 2.9.14 to get Draw working again.
@chriswilling:
the ponce sbopkg -current version of LO (which I suppose is your work) works just fine.
Glad to hear that but, as an optional requirement for LibreOffice, the SlackBuild for liblangtag needs to be buildable. Actually, regardless of LibreOffice, all SlackBuilds should be buildable. Since there were two reports of liblangtag failing on 32bit -current, I've been playing around with version & fix combinations that can apply to both 15.0 and -current (both 64 & 32bit).
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,073
Rep:
I heartily agree with @chris.willing when he points out that all SlackBuilds should be buildable. And ideally, it should be possible to build every application from source. But we all now that it sometimes can take some time to find solutions to dependency issues due to source file changes.
Unfortunately I'm not knowledgeable enough to dig into the liblangtag or libxml2 issues.
Another approach: ever since I started running Linux 15 years ago I've taken the easy way out, installing first OpenOffice and later LibreOffice by simply repackaging the .rpm files (I now use WillySR's SBo script "libreoffice"). Did the same with LO-7.4.2 and the resulting package includes both libxml2.so.2 and liblangtag-lo.so.1. Draw runs just fine.
So (temporarily?) creating/installing such a package as an alternative to AlienBob's package or a package built with Chris Willing's script might be a solution for some.
Next time when Alien Bob builds a new libreoffice, he builds it against the new libxml2. Then you should remember to remove the old one from /usr/lib64/libreoffice/program/libxml2.so.2, or it could cause problems.
He didn't rebuild it against the new system libxml2 but used an internal copy of libxml2-2.11.4.
No need to remove anything, because now libreoffice-7.6.4-x86_64-2alien contains /usr/lib64/libreoffice/program/libxml2.so.2 and that writes over the temporary file.
Installed the next libxml2 version (2.12.3) on my Slackware 15.0 64-bit system today and the same error came back. Downgraded back to 2.9.14 to get Draw working again.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130
Original Poster
Rep:
Quote:
LibreOffice 24.2 Community available for all operating systems
By Italo Vignoli On January 31, 2024
Berlin, 31 January 2024 – LibreOffice 24.2 Community, the new major release of the free, volunteer-supported office suite and the first to use the new calendar-based numbering scheme (YY.M), is now available at https://www.libreoffice.org/download for Windows (Intel, AMD and ARM), macOS (Apple and Intel) and Linux. The new numbering scheme will help users keep their LibreOffice installation up to date.
I keep a binary repo for LibreOffice for Slackware ARM aarch64 port (running -current) based on the SBo script. Outside of adding liblangtag to the mix, I also had to add JDK17 removing JDK11 also had to add "-lz" to the LDFLAGS before this beast would build. But everything seems working fine, Writer, Draw, etc...
Due to compiler limitations on 15.0, the SBo SlackBuild for office/LibreOffice (build from source) will be held at 7.6.4.1 which is the version prior to the 24.X series.
For -current, an updated SlackBuild for LibreOffice-24.2.0.3 is now available in Ponce's repo.
chris
Last edited by chris.willing; 02-12-2024 at 07:05 AM.
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,073
Rep:
Quote:
Originally Posted by chris.willing
Due to compiler limitations on 15.0, the SBo SlackBuild for office/LibreOffice (build from source) will be held at 7.6.4.1 which is the version prior to the 24.X series.
For -current, an updated SlackBuild for LibreOffice-24.2.0.3 is now available in Ponce's repo.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130
Original Poster
Rep:
Quote:
Wed Feb 21 12:41:50 UTC 2024
libreoffice: updated to 24.2.0 for Slackware 15.0 and -current.
Depends on openjdk17.
openjdk17: added v17.0.10_7 for Slackware 15.0 and newer.
Only install one version of Java!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.