singlestore-labs / python-wasi

Utilities for building CPython for the WASI platform
Apache License 2.0
97 stars 14 forks source link

Wasmer 2.2.0 error #3

Closed technosophos closed 2 years ago

technosophos commented 2 years ago

I believe this is unrelated to #2.

Wasmer 2.2.0 came out today, and re-running the Docker build errors while installing it:

 => ERROR [ 8/16] RUN curl https://get.wasmer.io -sSfL | sh                                                                          7.4s
------
 > [ 8/16] RUN curl https://get.wasmer.io -sSfL | sh:
#11 0.912 Welcome to the Wasmer bash installer!
#11 0.913
#11 0.913                ww
#11 0.913                wwwww
#11 0.913         ww     wwwwww  w
#11 0.913         wwwww      wwwwwwwww
#11 0.913 ww      wwwwww  w     wwwwwww
#11 0.913 wwwww      wwwwwwwwww   wwwww
#11 0.913 wwwwww  w      wwwwwww  wwwww
#11 0.913 wwwwwwwwwwwwww   wwwww  wwwww
#11 0.913 wwwwwwwwwwwwwww  wwwww  wwwww
#11 0.913 wwwwwwwwwwwwwww  wwwww  wwwww
#11 0.913 wwwwwwwwwwwwwww  wwwww  wwwww
#11 0.913 wwwwwwwwwwwwwww  wwwww   wwww
#11 0.913 wwwwwwwwwwwwwww  wwwww
#11 0.913    wwwwwwwwwwww   wwww
#11 0.913        wwwwwwww
#11 0.913            wwww
#11 0.913
#11 0.950 downloading: wasmer-linux-amd64
#11 1.587 Latest release: 2.2.0
#11 2.019 Downloading archive from https://github.com/wasmerio/wasmer/releases/download/2.2.0/wasmer-linux-amd64.tar.gz
######################################################################## 100.0%##O=#  #                                                   ######################################################################## 100.0%
#11 5.185 installing: /root/.wasmer
#11 7.301 Updating bash profile /root/.profile
#11 7.379 we've added the following to your /root/.profile
#11 7.380 If you have a different profile please add the following:
#11 7.380
#11 7.380 # Wasmer
#11 7.380 export WASMER_DIR="/root/.wasmer"
#11 7.380 [ -s "$WASMER_DIR/wasmer.sh" ] && source "$WASMER_DIR/wasmer.sh"
#11 7.380 /root/.wasmer/bin/wasmer: error while loading shared libraries: libxkbcommon.so.0: cannot open shared object file: No such file or directory
#11 7.389 error: wasmer was installed, but doesn't seem to be working :(
six-ddc commented 2 years ago

try this apt-get install -y libxkbcommon-dev

tqwewe commented 2 years ago

try this apt-get install -y libxkbcommon-dev

This didnt work for me.

But this worked:

sudo apt-get install libtinfo5
kesmit13 commented 2 years ago

libtinfo5 is now included in the Dockerfile.