snappy-java icon indicating copy to clipboard operation
snappy-java copied to clipboard

Library Incompatibility on ppc64le Processor /Linux

Open PeterDubec opened this issue 1 year ago • 1 comments

We have encountered an issue with the library not functioning correctly on the ppc64le processor architecture. This incompatibility is preventing the complete installation of Talend runtime (Apache Karaf).

I found missing line ppc64le in: snappy-java/src/main/java/org/xerial/snappy/OSInfo.java at master · xerial/snappy-java · GitHub

public class OSInfo { private static HashMap<String, String> archMapping = new HashMap<String, String>();

public static final String X86 = "x86"; public static final String X86_64 = "x86_64"; public static final String IA64_32 = "ia64_32"; public static final String IA64 = "ia64"; public static final String PPC = "ppc"; public static final String PPC64 = "ppc64"; public static final String IBMZ = "s390"; public static final String IBMZ_64 = "s390x"; public static final String AARCH_64 = "aarch64"; public static final String RISCV_64 = "riscv64"; public static final String LOONGARCH_64 = "loongarch64";

although the ppc64le exists in this place:

snappy-java/src/main/resources/org/xerial/snappy/native/Linux/ppc64le/libsnappyjava.so at master · xerial/snappy-java · GitHub

PeterDubec avatar Jan 03 '25 12:01 PeterDubec

I made the pull request, since it needs two simple rows of code only.

PeterDubec avatar Jan 07 '25 12:01 PeterDubec