ranger icon indicating copy to clipboard operation
ranger copied to clipboard

[RANGER-3863] Update dependencies to support macOS aarch64 M1 (Apple Silicon) environment

Open ttzztztz opened this issue 3 years ago • 0 comments

JIRA LInk

This Pr is to update dependencies to support macOS aarch64 devices.

We'll see the UnsatisfiedLinkError like below:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /Users/USERNAME/Library/Caches/JetBrains/IntelliJIdea2020.3/tmp/jna6890631648374949923.tmp: dlopen(/Users/USERNAME/Library/Caches/JetBrains/IntelliJIdea2020.3/tmp/jna6890631648374949923.tmp, 1): no suitable image found.  Did find:
	/Users/USERNAME/Library/Caches/JetBrains/IntelliJIdea2020.3/tmp/jna6890631648374949923.tmp: no matching architecture in universal wrapper
	/Users/USERNAME/Library/Caches/JetBrains/IntelliJIdea2020.3/tmp/jna6890631648374949923.tmp: no matching architecture in universal wrapper
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)

This is because the dependencies wasn't updated to the version which supports M1.

Maven repo link:

  1. Java Native Access, changelog
  2. gethostname4j, related PR

ttzztztz avatar Aug 22 '22 12:08 ttzztztz