Bug 1977671

Summary: [aarch64] java.library.path not listing /usr/lib64
Product: [Fedora] Fedora Reporter: Severin Gehwolf <sgehwolf>
Component: java-11-openjdkAssignee: Severin Gehwolf <sgehwolf>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ahughes, ashundi, jerboaa, jvanek, mageia-java
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Unspecified   
Whiteboard:
Fixed In Version: java-11-openjdk-11.0.12.0.7-1.fc35 java-11-openjdk-11.0.12.0.7-6.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-28 22:55:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Severin Gehwolf 2021-06-30 09:08:17 UTC
Description of problem:
$ java -XshowSettings:properties -version

Doesn't list /usr/lib64 for aarch64 (a 64 bit architecture). This breaks libraries that attempt to load libraries via System.loadLibrary("foo") where "foo" is is /usr/lib64/libfoo.so.

Version-Release number of selected component (if applicable):
java-11-openjdk-11.0.11.0.9-4.fc33.aarch64

How reproducible:
100%

Steps to Reproduce:
1. java -XshowSettings:properties -version

Actual results:
    java.library.path = /usr/java/packages/lib
        /lib
        /usr/lib


Expected results:
    java.library.path = /usr/java/packages/lib
        /usr/lib64
        /lib64
        /lib
        /usr/lib

Additional info:
Other architectures seem to be OK in this regard.

Comment 1 Severin Gehwolf 2021-06-30 10:21:11 UTC
Upstream bug for this is JDK-8269668.

Comment 3 Fedora Update System 2021-07-28 22:48:32 UTC
FEDORA-2021-ba4886ade4 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ba4886ade4

Comment 4 Fedora Update System 2021-07-28 22:55:08 UTC
FEDORA-2021-ba4886ade4 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Severin Gehwolf 2021-08-16 08:18:08 UTC
*** Bug 1993446 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2021-09-03 17:49:43 UTC
FEDORA-2021-fb40acc444 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-fb40acc444

Comment 7 Fedora Update System 2021-09-03 17:55:41 UTC
FEDORA-2021-fb40acc444 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.