Skip to content

request: library for linux arm64 #2

@Tom-TBT

Description

@Tom-TBT

Dear @normanrz,
My goal is to release the bioformats2raw conda package for arm64 linux.

with the switch of bf2raw to zarr-java, we now see the error below.
So, I would be really grateful if you could please also compile blosc-java for arm64 linux.

The pull request on conda-bioformats2raw with the failed build (ubuntu-24.04-arm64):
ome/conda-bioformats2raw#29

But here's one error stack (I believe the Github action result won't be preserved):

2026-04-24 08:24:05,545 [pool-1-thread-1] ERROR c.g.bioformats2raw.Converter - Failure processing chunk; resolution=0 plane=0 xx=0 yy=0 zz=0 width=512 height=512 depth=1
java.lang.UnsatisfiedLinkError: /tmp/libbloscjni16704860411520971774.so: /tmp/libbloscjni16704860411520971774.so: cannot open shared object file: No such file or directory (Possible cause: can't load AMD 64 .so on a AARCH64 platform)
	at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
	at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:331)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:197)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:139)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2418)
	at java.base/java.lang.Runtime.load0(Runtime.java:852)
	at java.base/java.lang.System.load(System.java:2027)
	at com.scalableminds.bloscjava.Blosc.<clinit>(Blosc.java:17)
	at dev.zarr.zarrjava.v2.codec.core.BloscCodec.encode(BloscCodec.java:65)
	at dev.zarr.zarrjava.core.codec.CodecPipeline.encode(CodecPipeline.java:150)
	at dev.zarr.zarrjava.core.Array.writeChunk(Array.java:153)
	at dev.zarr.zarrjava.core.Array.lambda$write$0(Array.java:121)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)
	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:759)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
	at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:676)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:160)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:174)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:765)
	at dev.zarr.zarrjava.core.Array.write(Array.java:99)
	at dev.zarr.zarrjava.core.Array.write(Array.java:309)
	at com.glencoesoftware.bioformats2raw.Converter.writeBytes(Converter.java:2014)
	at com.glencoesoftware.bioformats2raw.Converter.processChunk(Converter.java:2391)
	at com.glencoesoftware.bioformats2raw.Converter.lambda$saveResolutions$6(Converter.java:2623)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions