Bug 158795 - loadComponentFromURL needs libforuilo.so on a --disable-gui build
Summary: loadComponentFromURL needs libforuilo.so on a --disable-gui build
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-20 18:54 UTC by Rene Engelhard
Modified: 2024-01-30 11:17 UTC (History)
1 user (show)

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 Rene Engelhard 2023-12-20 18:54:12 UTC
Description:
From 

   * What led up to the situation?
tried to open an existing spreadsheet using python uno
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
after adding libforuilo.so found in the libreoffice-core, to /usr/lib/libreoffice/program, opening an existing spreadsheet succeeded
   * What was the outcome of this action?
no document was opened, no feedback 
   * What outcome did you expect instead?
that it was possible to open an existing or new spreadsheet using loadComponentFromURL

Similar as https://bugs.documentfoundation.org/show_bug.cgi?id=158695 

Steps to Reproduce:
1. build LO with --disable-gui
2. rm libforuilo.so
3. see description

Actual Results:
no document was opened, no feedback 

Expected Results:
open an existing or new spreadsheet using loadComponentFromURL succeeds


Reproducible: Always


User Profile Reset: No

Additional Info:
-
Comment 1 Rene Engelhard 2023-12-24 12:37:37 UTC
> Steps to Reproduce:
> 1. build LO with --disable-gui

Actually here you need to do --disable-gui --disable-libmerged since otherwise libforuilo.so ends up in libmerged...

> 2. rm libforuilo.so
> 3. see description

Then this works.
Comment 2 Rene Engelhard 2023-12-24 12:40:05 UTC
--disable-mergelibs that is (which is default in configure.ac but the release builds distro configs do --enable-mergelibs)
Comment 3 Buovjaga 2024-01-30 11:17:25 UTC
Let's set to NEW.