-
Notifications
You must be signed in to change notification settings - Fork 212
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
No native library found for os.name=Linux, os.arch=aarch64 #474
Comments
It seems that public static String getArchName() {
String osArch = System.getProperty("os.arch");
// For Android
if (isAndroid()) {
return "android-arm";
}
if (osArch.startsWith("arm")) { // <-- linux arch named `aarch64` can not go into this
osArch = resolveArmArchType();
} else {
String lc = osArch.toLowerCase(Locale.US);
if (archMapping.containsKey(lc))
return archMapping.get(lc);
}
return translateArchNameToFolderName(osArch);
} |
I was able to workaround the issue by doing:
|
The next error is:
For some reason it tries to find Update: Apologies! This is mentioned in the README! |
As mentioned by @lanmaoxinqing the last problem is in Jansi library:
Fixed by @lanmaoxinqing with fusesource/jansi#219 |
I'm working on jansi these days. There's one issue remaining which is Apple/M1 support which I'd like to get in before releasing it. |
I was able to build
but then trying to use it fails with:
I need to copy some more files and folders next to it to make it look like the archives in GitHub releases. |
@martin-g I've added some infos at https://github.com/mvndaemon/mvnd#install-mvnd, let me know if this is sufficient. |
Confirmed! Everything works now! |
The
os.arch
system variable may beaarch64
in some linux arm64 machines like below andOSInfo.java
in native module doesn't recognize it.I will submit a PR for this later if it's necessary to compatible with this situation.
The text was updated successfully, but these errors were encountered: