Bug 168461 - I am receiving error when calling Libre Office 25.8.1.1
Summary: I am receiving error when calling Libre Office 25.8.1.1
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
25.8.1.1 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-18 09:36 UTC by Anuja Wickramarathna
Modified: 2026-01-12 15:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
how the error appeared in the log file (198.89 KB, image/png)
2025-09-18 09:38 UTC, Anuja Wickramarathna
Details
LibreOfficeTest.java (2.08 KB, text/x-java)
2026-01-12 15:42 UTC, Tobias Widmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anuja Wickramarathna 2025-09-18 09:36:07 UTC
Description:
Hi,

I am receiving below error message while calling the Libre Office version 25.8.1.1. Our previous version was 25.2.5 and no similar errors found while calling Libre office

stderr from command: Could not find platform independent libraries <prefix>

But we can see letters are generating. We need to find out this and resolve it. 

Hope you can give some guidance for this

Steps to Reproduce:
1.Calling C:\Program Files\LibreOffice\program\soffice.exe" --headless --pt
2.stderr from command: Could not find platform independent libraries <prefix>
3.Removing temp file (print file)

Actual Results:
1.Calling C:\Program Files\LibreOffice\program\soffice.exe" --headless --pt
2.Removing temp file (print file)

Expected Results:
Letter should be printed and shouldn't be any error messages in the log file


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Letter should be printed and shouldn't be any error messages in the log file immediately after calling the Libre Office
Comment 1 Anuja Wickramarathna 2025-09-18 09:38:30 UTC
Created attachment 202873 [details]
how the error appeared in the log file
Comment 2 Anuja Wickramarathna 2025-09-19 10:30:13 UTC
Anyone can provide a solution for this, much appreciated.
Comment 3 Anuja Wickramarathna 2025-11-11 15:24:32 UTC
Hi,

Still I didn't got any solution for the issue. We have upgraded to 25.8.2 but still same issue exists. Can anyone provide solution for this issue?

Thanks
Comment 4 Tobias Widmann 2026-01-12 15:42:36 UTC
Created attachment 205021 [details]
LibreOfficeTest.java

We are seeing this error message as well, in our case when using the LibreOffice UNO API from Java. I tested this with a completely fresh install of LibreOffice 25.8.4.2 and a fresh user profile.

As far as I can tell, the message gets printed to stderr specifically when loading a document for the first time since starting the LibreOffice process. I have attached a minimal Java program "LibreOfficeTest" to reproduce the issue. Stepping through the program line by line in a debugger shows that the message gets printed when "loadComponentFromURL" is called.

In contrast to some earlier similar bug reports I found (https://bugs.documentfoundation.org/show_bug.cgi?id=166294, https://bugs.documentfoundation.org/show_bug.cgi?id=167728), I couldn't reproduce this on Linux, only on Windows.