"useless" librt.so.1 dependency on Linux reported by dpkg-shlibdeps
Baesken, Matthias
matthias.baesken at sap.com
Fri Sep 19 07:42:19 UTC 2025
Hi David, I found a RHEL 7.9 machine with an old glibc :
ldd --version
ldd (GNU libc) 2.17
But the gcc on this machine is 4.8.5 , probably too old to build OpenJDK there to see if this change breaks something .
Any idea what I should test on this old machine regarding librt.so.1 ?
Best regards, Matthias
>>>>
>>>> ( seems some versions of RHEL 7 / SLES 12 still had those old glibc
>>>> versions)
>>>>
>>>> Could we clean this up?
>>>>
>>>> Or is there still some need to support this in jdk26 ?
>>>
>>> I always find it very difficult to determine when checks like these
>>> become unnecessary. I think RHEL 7 with glibc 2.17 is the oldest Linux
>>> release we currently support.
>>>
>>> Given I wrote the above in April 2021, I would hope we can now move on,
>>> but again I don't know how to readily determine that.
>>
>>
>> I could create a removal PR and maybe you can test on the oldest platforms you want to support in release 26 ?
>
>I don't have access to such systems for testing.
>
>David
More information about the build-dev
mailing list