xerial / snappy-java

Snappy compressor/decompressor for Java
Apache License 2.0
1.03k stars 231 forks source link

Unable to start snappy-java as OSGi bundle on Apple Silicon (M1 Pro) #302

Closed zh-muxa closed 1 year ago

zh-muxa commented 2 years ago

Installing snappy-java (1.1.8.4) as an OSGi bundle on Apache Karaf (4.3.5) and then running the bundle leads to an error:

Screenshot 2022-01-19 at 17 08 06

oscar-bachour-allianz-direct commented 2 years ago

In the released version 1.1.8.4, build.sbt is missing the Bundle-NativeCode reference to: org/xerial/snappy/native/Mac/aarch64/libsnappyjava.dylib;osname=macosx;processor=aarch64.

I detected the same issue using Tycho.

jrnorth commented 1 year ago

@xerial Any idea when the next version will be released? I could use this fix.

xerial commented 1 year ago

Released 1.1.9.0 with this fix.