Bug 294276 - editors/libreoffice: libpdfiumlo.so that libreoffice installs has at least one undefined symbol: opj_image_destroy
Summary: editors/libreoffice: libpdfiumlo.so that libreoffice installs has at least on...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-04-06 05:58 UTC by Yuri Victorovich
Modified: 2026-04-06 17:56 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (office)


Attachments
x.cpp (251 bytes, text/plain)
2026-04-06 05:58 UTC, Yuri Victorovich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2026-04-06 05:58:39 UTC
Created attachment 269402 [details]
x.cpp

The attached program that dlopen's the /usr/local/lib/libreoffice/program/libpdfiumlo.so fails:

> dlopen failed: /usr/local/lib/libreoffice/program/libpdfiumlo.so: Undefined symbol "opj_image_destroy"
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2026-04-06 17:55:31 UTC
Fixed the broken shared library by adding a patch.
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-04-06 17:56:41 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1da7f9bfef4f1661c7edce2292c919a315cbce79

commit 1da7f9bfef4f1661c7edce2292c919a315cbce79
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-06 16:32:14 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-06 17:55:47 +0000

    editors/libreoffice: Fixed the broken shared library libpdfiumlo.so by adding a patch

    PR:             294276
    Approved by:    portmgr@ (unbreak; bundled shared lib unbreak)

 editors/libreoffice/Makefile                       |  2 +-
 .../patch-external_pdfium_Library__pdfium.mk (new) | 26 ++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)