Skip to content

wasi-sdk-31 is broken (libncurses error) #613

Description

@mh4ckt3mh4ckt1c4s

Hello,

wasi-sdk-31 (and wasi-sdk-32 prerelease) is broken with the following error:

> ./wasi-sdk-31.0-x86_64-linux/bin/clang main.c
./wasi-sdk-31.0-x86_64-linux/bin/clang: error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory

When using a basic main.c :

#include<stdio.h>
#include<stdlib.h>

int main() {
        puts("Hello from wasm\n");
        return 0;
}

Seems like the binaries were not linked correctly. It works fine with wasi-sdk-30. I was able to reproduce this bug on my ArchLinux machine, but also on a clean Debian container, and it seems like the official Docker release of wasi-sdk is broken too.

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