-
Notifications
You must be signed in to change notification settings - Fork 36
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
JVM method invocations fail with JNA error (GLIBC_2.33 required while OS uses GLIBC_2.31) on Ubuntu 20.04 #347
Comments
Fixed by compiling bdk-jvm on Ubuntu 20.04. |
I'll revert the test and publish workflows to run on the ubuntu-20.04 image so that will fix the issue for the 0.28.0 release. But this is pointing out a deeper issue; we should make sure we build with an old enough version of glibc that bdk-jvm works on all sorts of Linux distros, including much older ones than Ubuntu 20.04. For example it'd be quite fair to expect users to run their servers on Debian oldstable (Debian 10, Buster), whose glibc is 2.28. |
Closing this as it's been resolved. See #353 for continued discussion around older Linux distribution support. |
Describe the bug
When running a java app with BDK-JVM and invoking a BDK method on JDK 17 Ubuntu 20.04 you get the following error:
The latest GLIBC on Ubuntu 20.04 is 2.31. The JNA dependency version (5.6.0) was released in July 2020 when the latest GLIBC was 2.31. The system libs are upgraded and up-to-date as per the package manager (no custom libc).
To Reproduce
Invoke a BDK method from a Java app with JDK 17 on Ubuntu 20.04
Expected behavior
No error.
Run environment
The text was updated successfully, but these errors were encountered: