You are not logged in.

#1 2025-01-15 04:56:22

dcam
Member
Registered: 2025-01-15
Posts: 1

libreoffice won't run, mismatched libboost shared libraries

Fresh arch install yesterday:

[david@compaq-mini ~]$ /usr/lib/libreoffice/program/soffice.bin
/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libboost_locale.so.1.81.0: cannot open shared object file: No such file or directory

OK so missing shared objects:

[root@compaq-mini ~]# ldd /usr/lib/libreoffice/program/soffice.bin |grep "not found"
        libboost_locale.so.1.81.0 => not found
        libboost_filesystem.so.1.81.0 => not found
        libboost_iostreams.so.1.81.0 => not found
        libboost_filesystem.so.1.81.0 => not found

Yup they exist, but wrong-version:

[root@compaq-mini ~]#  ls -al /usr/lib/libboost_{locale,filesystem,iostreams}.so*
lrwxrwxrwx 1 root root     29 May  3  2024 /usr/lib/libboost_filesystem.so -> libboost_filesystem.so.1.83.0
-rwxr-xr-x 1 root root 136768 May  3  2024 /usr/lib/libboost_filesystem.so.1.83.0
lrwxrwxrwx 1 root root     28 May  3  2024 /usr/lib/libboost_iostreams.so -> libboost_iostreams.so.1.83.0
-rwxr-xr-x 1 root root  83360 May  3  2024 /usr/lib/libboost_iostreams.so.1.83.0
lrwxrwxrwx 1 root root     25 May  3  2024 /usr/lib/libboost_locale.so -> libboost_locale.so.1.83.0
-rwxr-xr-x 1 root root 591468 May  3  2024 /usr/lib/libboost_locale.so.1.83.0

Now I can find the following, but it doesn't contain the boost so.1.81.0 binaries... so where do I get them from?

        https://archive.archlinux32.org/package … kg.tar.zst

Offline

#2 2025-02-22 09:31:12

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,083
Website

Re: libreoffice won't run, mismatched libboost shared libraries

I'll create and push a boost181-libs you can install to satisfy those dependencies. The root cause is that libreoffice has not been
rebuild by ages (and I doubt it builds right now).

Offline

#3 2025-02-22 11:19:14

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,083
Website

Re: libreoffice won't run, mismatched libboost shared libraries

mmh. this proves to be more complicated than it should be. boost 1.81 doesn't build with a modern gcc because of the auto_ptr -> unique_ptr move. Trying to convince boost 1.81.1 to build with say gcc 13 is also complicated.. so if rebuilding a boost181-libs is
not possible usually extracting old boost package artifacts and repackaging was the way to go, but:
-rw-r--r-- 2 http mirror 2275096 Feb 20  2023 boost180-libs-1.80.0-1.1-pentium4.pkg.tar.zst
-rw-r--r-- 2 http mirror     310 Feb 20  2023 boost180-libs-1.80.0-1.1-pentium4.pkg.tar.zst.sig
-rw-r--r-- 2 http mirror 2213600 May  3  2024 boost-libs-1.83.0-7.0-i686.pkg.tar.zst
-rw-r--r-- 2 http mirror     310 May  3  2024 boost-libs-1.83.0-7.0-i686.pkg.tar.zst.sig
So, we do not have boost 1.81 around in any form.

This is on 64-bit btw. I doubt I can build it on 32-bit, as most up Python is broken and disabling
bjam and python is not really an option in boost.

Offline

#4 2025-02-22 16:35:02

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,083
Website

Re: libreoffice won't run, mismatched libboost shared libraries

Managed to force a build, it even works with libreoffice. I'm building it on the build system now..

Offline

#5 2025-02-23 10:08:37

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,083
Website

Re: libreoffice won't run, mismatched libboost shared libraries

Great, now building with the build system I get:

libfakeroot internal error: payload not recognized!

and the build is in an endless loop..

I'm also not thrilled by messages like this in the kernel log:

Feb 23 09:55:27 euronuc.lan kernel: x86/split lock detection: #AC: python3.13/2057495 took a split_lock trap at address: 0xefdcbfc4

Maybe there is a bigger issue here around fakeroot and/or python?

Offline

#6 2025-02-23 10:31:11

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,083
Website

Re: libreoffice won't run, mismatched libboost shared libraries

Feb 23 08:28:36 euronuc.lan build-packages[1875909]: removing unexpected build artifact "boost181-libs-debug-1.81.0-1.0-pentium4.pkg.tar.zst"
Feb 23 08:28:36 euronuc.lan build-packages[1875909]: I was only expecting:
Feb 23 08:28:36 euronuc.lan build-packages[1875909]: boost181-libs-1.81.0-1.0-pentium4.pkg.tar.zst
=> yeah, sure, debug packages are optional and might happen, why is it complaining?

Feb 23 08:28:37 euronuc.lan build-packages[1875917]: gpg: Note: database_open 134217901 waiting for lock (held by 1920782) ...
Feb 23 08:28:38 euronuc.lan build-packages[1875917]: gpg: Note: database_open 134217901 waiting for lock (held by 1920782) ...
Feb 23 08:28:41 euronuc.lan build-packages[1875917]: gpg: Note: database_open 134217901 waiting for lock (held by 1920782) ...
Feb 23 08:28:42 euronuc.lan build-packages[1875917]: gpg: Note: database_open 134217901 waiting for lock (held by 1920782) ...
Feb 23 08:28:44 euronuc.lan build-packages[1875917]: gpg: Note: database_open 134217901 waiting for lock (held by 1920782) ...
Feb 23 08:28:46 euronuc.lan build-packages[1875917]: gpg: keydb_search failed: Connection timed out
Feb 23 08:28:46 euronuc.lan build-packages[1875917]: gpg: skipped "16194A82231E9EF823562181C8E8F5A0AF9BA7E7": Connection timed out
Feb 23 08:28:46 euronuc.lan build-packages[1875917]: gpg: signing failed: Connection timed out
Feb 23 10:17:36 euronuc.lan build-packages[2100180]: Signature(s) is/are not fully trusted:
Feb 23 10:17:36 euronuc.lan build-packages[2045366]: 'return-assignment' reports a signature error.
=> yeah, signing is a mess

Feb 23 08:28:55 euronuc.lan build-packages[1879835]: tar: Cowardly refusing to create an empty archive
Feb 23 08:28:55 euronuc.lan build-packages[1879835]: Try 'tar --help' or 'tar --usage' for more information.
=> empty tar file, when I build manually, I actually get a working package

Is there anything working here?

Offline

#7 2025-02-23 11:02:50

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,083
Website

Re: libreoffice won't run, mismatched libboost shared libraries

Ok, nuked my build slaves and let everything reinstall from scratch, let's see. :-)

Offline

#8 2025-02-23 12:36:53

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,083
Website

Re: libreoffice won't run, mismatched libboost shared libraries

ok, pushed boost181-libs. You can try those.

Offline

Board footer

Powered by FluxBB