This message was deleted.
# dev
s
This message was deleted.
c
I figured it out. sigar and zstd-jni need to installed into
/Library/Java/Extensions
and in my case I needed
zstd-jni-1.5.2-5-darwin_aarch64.jar
to match the M2 architecture
Still didn't get it working. I ended up skipping the specific tests that use this library. To do that I added
Copy code
-Dtest='!org.apache.druid.java.util.common.CompressionUtilsTest, !org.apache.druid.java.util.metrics.*Test'
to the maven command.
x
is this specific to M2? does it work on M1?
c
I don't know, I only have an M2 and no way to test on and M1.
t
This issue seems to be occurring due to libsigar not providing aarch64 based binaries. When I faced this issue in the past what worked is changing jdk from aarch64 based to x86 one (maybe Rosetta - the translation environment of mac m1 is allowing x86 arch based jdk to run x86_64 based libsigar-universal64-macosx.dylib file).