ttzztztz opened a new pull request, #171:
URL: https://github.com/apache/ranger/pull/171

   [JIRA LInk](https://issues.apache.org/jira/browse/RANGER-3863)
   
   This Pr is to update dependencies to support macOS aarch64 devices.
   
   We'll see the `UnsatisfiedLinkError` like below:
   
   ```plain
   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](https://mvnrepository.com/artifact/net.java.dev.jna/jna/5.7.0), 
[changelog](https://github.com/java-native-access/jna/blob/master/CHANGES.md#release-570)
   2. 
[gethostname4j](https://mvnrepository.com/artifact/com.kstruct/gethostname4j), 
[related PR](https://github.com/mattsheppard/gethostname4j/pull/8)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to