Bug 266510 - editors/libreoffice: Impress fails to open any files after 7.4.0.3_1 update: loading component library <file:///LOCALBASE/lib/libreoffice/program/../program/libsdlo.so> failed.
Summary: editors/libreoffice: Impress fails to open any files after 7.4.0.3_1 update: ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Many People
Assignee: Dima Panov
URL:
Keywords: needs-qa, regression
Depends on:
Blocks:
 
Reported: 2022-09-20 03:10 UTC by Santiago Martinez
Modified: 2022-09-22 18:44 UTC (History)
3 users (show)

See Also:
koobs: maintainer-feedback? (fluffy)
koobs: maintainer-feedback? (office)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago Martinez 2022-09-20 03:10:40 UTC
LibreOffice impress fails to load or to open any presentation file.
This is after the latest LibreOffice update that was push to the latest repository.

Package version:
libreoffice-7.4.0.3_1

Error:
loading component library <file:///usr/local/lib/libreoffice/program/../program/libsdlo.so> failed.
Comment 1 Dima Panov freebsd_committer freebsd_triage 2022-09-20 06:22:38 UTC
Hello!

This is not a libreoffice itself bug but outdated dependencies (and dependencies of dependencies)

See PR 266262 (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266262)
Comment 2 Santiago Martinez 2022-09-20 10:02:38 UTC
(In reply to Dima Panov from comment #1)

Hi Dima, thanks for the update, Any clue on how to fix it? 

if there is a missing or outdated dependencies, should it not be asserted as part of the port?
Comment 3 Santiago Martinez 2022-09-21 03:38:44 UTC
I have tried building latest from ports and also fails.

I have check lld /usr/local/lib/libreoffice/program/../program/libsdlo.so and comes out clean, i mean no missing deps.

Im building LibreOffice now with --debugging support to see if i can get a pointer of whats going on.
Comment 4 Santiago Martinez 2022-09-22 18:43:54 UTC
At the ends this was also fixed with this, from the related PR.

# PORTS=$(ldd /usr/local/lib/libreoffice/program/libsdlo.so | awk '{print $3}' | while read line; do pkg which "$line" | awk '{printf $NF}'; echo " "; done); PKG=$(echo "$PORTS" | sed -e 's/database//g' | sort -u); pkg install -f $PKG