-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin fails to consider the type of the C library for Linux distributions #5
Comments
Maybe can use: https://github.com/lovell/detect-libc |
Is there any way to override it manually as a stop gap? |
Not that I'm aware of. But contributions are welcome. |
UPDATE 2024-05-13
I'm not C expert so I'm unable to tell what have changed between [email protected]_git20230717-r4 and [email protected] and why it was introduced but sad fact is that latest available [email protected] is not fully working with it and it's not possible to easily downgrade it 🙁 Original post 2024-04-04 For anyone who have encounter related issue on Alpine Linux distribution and foojay plugin e.g.
Official documentation suggest:
If you don't want to switch over to other distribution, one of possible workaround is to install
apk add gcompat |
I have updated my original post since on newer musl version this workaround it's no longer working 😞 |
Comment by @jvandort, to be explored:
|
At the moment the plugin is unable to determine the C library type for which it's supposed to provide JDKs.
This is a problem on Linux distributions because a JDK written for Alpine (ie.
musl
library) won't work on Ubuntu (i.e.glibc
library).For now all the plugin does is to prioritize
glibc
overmusl
, so it will work fine on Ubuntu and similar distributions, but won't work fine on Alpine.Need to figure out a way to determine the exact library version the current JVM is running on.
The text was updated successfully, but these errors were encountered: