Open zingmars opened 2 years ago
For what it's worth, I was able to compile HDF5 using https://github.com/HDFGroup/HDF.PInvoke.1.10/blob/native-CI/build/build.ps1 and then overwrite the versions restored by dotnet build
and it seems to work fine, so there's nothing preventing HDF.PInvoke from working on this platform.
Alpine Linux is a lightweight Linux distro usually used in containers. It's fairly popular due its small size. Unfortunately it differs from other Linux distributions by using an alternative libc - musl libc, as opposed to gnu's libc used by most standard mainstrean distributions. This often causes support issues, which seems to be the case this time.
Currently the native libraries shipped with th HDF.PInvoke depend on gnu's libc, which means it will just segfault when you try to run it -
For reference, confluence's libkafka for C# also ships with native linux binaries, and the have binaries for both gnu's libc based distributions and alpine. Here's the readelf output for their alpine library -
Are there any plans to support alpine in the future and if not what are the chances that such support will ever be added?