Bug 287398 - java/openjdk21: pkg check -da complains about "libreoffice is missing a required shared library: libjawt.so"
Summary: java/openjdk21: pkg check -da complains about "libreoffice is missing a requi...
Status: Closed DUPLICATE of bug 286055
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-java (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-09 17:18 UTC by Martin Birgmeier
Modified: 2025-06-10 13:25 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2025-06-09 17:18:27 UTC
Scenario:
- FreeBSD stable/14 ca. Feb. 1
- ports latest
- using DEFAULT_VERSIONS+=java=21 in /etc/make.conf
- editors/libreoffice is installed
- running: "pkg check -da"

Result:
- The command finishes with "libreoffice is missing a required shared library: libjawt.so"

Expected result:
- There should be no such error message.

Notes:
- I was uing an older version of openjdk before (via /etc/make.conf), with which this did not happen. If I remember correctly, it was openjdk17.
- The libreoffice file where ldd does not find libjawt.so is /usr/local/lib/libreoffice/program/libofficebean.so.

-- Martin
Comment 1 Harald Eilertsen 2025-06-10 11:43:28 UTC
This looks like a duplicate of Bug 286055
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286055
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2025-06-10 13:25:02 UTC

*** This bug has been marked as a duplicate of bug 286055 ***