From nobody Wed Aug 12 10:34:07 2026 X-Original-To: java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hKlGR4Tqqz6X0VP for ; Wed, 12 Aug 2026 10:34:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hKlGR3q55z3r3b for ; Wed, 12 Aug 2026 10:34:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786530847; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1u3vT/46CisSh2OnwGRHkd0mQfj6yOkkZwDx+odZ/ao=; b=TsNTlstzu+QexO3kNUdwHaCBOu8WywQxA40g/0qYaMFVoa6uiYoFOYHiIocxGmgdoceEDr wj1QIYvhRulTfNHJou1MHAP1xr0KQQu1oNvZwul8y13gyJVO/PpRb5qoPdExXPgIKaolTh yoxMmiGZVxvDAUEI/pdAmICtgzHn11d3r2n1DUCRpnr+puG5SkaFDF3D4/vIM59qbnHmBb 4YUsRTQxENtopbCKmaoZd7VJNk7UOAxN0wDD1S/3nDKeeTXyTUF5raR/kDXrBghIypssD8 bBZWVzV2bnwWKA/9zHCzitpt0dP6Cy45NHsS4vYoW0UQDeO2OX5wNgun61sOZg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786530847; a=rsa-sha256; cv=none; b=CYpUZOR25yWLCbadBztgsUfP9qNo+sGqF6o30KEfGn8ulVmjMPCEsBpy3dNy/4tqlArwAJ k0ablW1ZEFo5B3Zd/NlNDX8u5H9d8Ln6ScV7UfEJcXjSzdIpsAlfPdAwqnJkLMQLxHhLPe gfZ3RIm4m6x0xiQrFmuNWZrMxzilOjrdxTr7zxLKH3oDX8JTkcTihd884KJbrRJqEtsdnK 0au9fiVpx8zPHwEfbgE7Bofktr6F1x58kduF34N9mTEVtbsWBOZ+YbWoIbn5FddLFyx0V0 P2zxQ3pzcAdKoiB/Tt8D4Ogtkdr6QkSAz5LadCI8EEUINW/F5IvOs/m68sk+EQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786530847; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1u3vT/46CisSh2OnwGRHkd0mQfj6yOkkZwDx+odZ/ao=; b=xkwsQfXlNlVbqcdAkTixpyxosRLMFqkeKDl+7JiCPQdZcc23u+fhg4CWZujOQpPYvIDtfp UvFLk8IZJIQIjH6YgawfJkSwkRZNBGTKQVyz4LzMLhnxxDZ0U5HIS0ZetzQgFTPRK/5VDb XVLV1w26vjmYc+cYobpcAL6D8eSI0kyfWKhHdDIJYGG4UstBLO6mSNNZdTa+qax4+i7PQR Bys8s1dHA8+6JcOedWJa2BulykjE4Rc0KsT608yH5U+65eyP7E4P5agoc07I1Znsi6/4fp vnVyc2/7w0kZp5JQ7WDYGU0DFmmv8eCAAM0mJ+ikpYqbLmCzn0wxKalS1YN5nQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4hKlGR2KwLz6P4 for ; Wed, 12 Aug 2026 10:34:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 67CAY7bl020252 for ; Wed, 12 Aug 2026 10:34:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 67CAY7sN020251 for java@FreeBSD.org; Wed, 12 Aug 2026 10:34:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 297282] java/openjdk25: libjava.so does not find libjvm.so Date: Wed, 12 Aug 2026 10:34:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: haraldei@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D297282 --- Comment #2 from Harald Eilertsen --- The problem seems to be that while libjava.so is located in /usr/local/openjdkXX/lib, libjvm.so is located in /usr/local/openjdkXX/lib/server (assuming the server build, which is the default.) However, the DT_RUNPATH of libjava.so is set only to `$ORIGIN`, which makes= the loader not look in the `server/` directory under it.=20 stigmata% readelf -d /usr/local/openjdk25/lib/libjava.so|grep 'R.*PATH' 0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN] Adding `$ORIGIN/server` to the library runpath seems to solve the issue. I still don't understand why it insist on picking OpenJDK11 as the default, though. A bit more work is needed to make the patch more generic, but I hope to be = able to update the ports within the week or early next week. --=20 You are receiving this mail because: You are the assignee for the bug.=