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"
Fixed the broken shared library by adding a patch.
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(-)