Bug 169314 - TDF provided DEB packages are not compatible with Ubuntu 25.10 (libxml2 breaking change)
Summary: TDF provided DEB packages are not compatible with Ubuntu 25.10 (libxml2 break...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
25.8.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:26.2.0 target:25.8.4
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-07 09:37 UTC by Buo-ren Lin (OSSII)
Modified: 2025-11-27 16:13 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Buo-ren Lin (OSSII) 2025-11-07 09:37:56 UTC
Description:
Installing LibreOffice_25.8.2_Linux_x86-64_deb.tar.gz on Ubuntu 25.10 and run it prints the following error and terminates:

```text
/opt/libreoffice25.8/program/javaldx: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
/opt/libreoffice25.8/program/soffice.bin: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
```

It turns out that Ubuntu 25.10 ships a libxml2 library that is no longer compatible with the one that LibreOffice depend on since tdf#159502 is "fixed".

See the following webpage for more info regarding the upstream breaking change:

    Release notes · libxml2 2.14.0 · Releases · GNOME / libxml2 · GitLab
    https://gitlab.gnome.org/GNOME/libxml2/-/releases?after=eyJyZWxlYXNlZF9hdCI6IjIwMjUtMDQtMDMgMTQ6Mzc6MzUuMDAwMDAwMDAwICswMDAwIiwiaWQiOiI1NzAxIn0#major-changes


Steps to Reproduce:
1. Download LibreOffice_25.8.2_Linux_x86-64_deb.tar.gz
2. Install LibreOffice_25.8.2_Linux_x86-64_deb.tar.gz
3. Run the `libreoffice25.8` in the terminal

Actual Results:
No crash.

Expected Results:
Crash.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Reproduced on LibreOffice_25.8.2_Linux_x86-64_deb.tar.gz on Ubuntu 25.10
Comment 1 Buo-ren Lin (OSSII) 2025-11-07 09:41:13 UTC
For the record, the SONAME breaking change is libxml2.so.2 → libxml2.so.16.
Comment 2 Commit Notification 2025-11-12 13:28:12 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/8e52bae5c42f28eeb57944b21d0d7a80d701f844

tdf#169314 configure: default to --without-system-libxml (Linux)

It will be available in 26.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 nobu 2025-11-14 09:44:01 UTC
I haven't been able to file a bug report because I don't know the reason why it doesn't start.
Currently it is Kubuntu 25.10 and could be started with the following versions:

[2025-11-13]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d2def868cb3ac5a7e538a911e83d7d907a2ec794
CPU threads: 2; OS: Linux 6.17; UI render: default; VCL: kf5 (cairo+wayland)
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
Calc: threaded
Comment 4 Commit Notification 2025-11-27 16:13:53 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-25-8":

https://git.libreoffice.org/core/commit/9aed505475b5ce85c9cd6c1baaec4c70d0cb6cc0

tdf#169314 configure: default to --without-system-libxml (Linux)

It will be available in 25.8.4.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.