gfx-rs/wgpu-native

musl support

Sahnvour opened this issue · 5 comments

Trying to use the prebuilt releases on a musl-based distribution, such as Alpine Linux, gives

Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by [...]/libwgpu_native.so)

I believe this is because the library expects glibc. Would it be feasible to provide builds that work on musl too?

Yes, this makes sense! Let's get #405 merged first though.

Does musl support dynamically loaded libraries? We need that for vulkan support

Do you mean dlopen/dynamic linker? I guess so according to https://wiki.musl-libc.org/design-concepts

@Sahnvour are you interested to write a PR that adds musl support?

Unfortunately that's not something I have the time and knowledge to undertake.