PWD-Windows-2022
PWD-Windows-2022 copied to clipboard
./alpha-release-2: cannot execute: required file not found
Just like the title, nothing happened after I entered the command.
Okay, just fixed by running these commands:
apk add --no-cache wget ca-certificates
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r1/glibc-2.35-r1.apk
apk add --allow-untrusted glibc-2.35-r1.apk
sudo mkdir -p /lib64
sudo ln -s /usr/glibc-compat/lib/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2
apk add patchelf
patchelf --set-interpreter /usr/glibc-compat/lib/ld-linux-x86-64.so.2 alpha-release-2
This binary requires glibc to be executed, but on Alpine (play-with-docker) uses musl libc so we need to install a glibc compatibility layer.
Hmmm it instantly deleted my instance. Wondering why...?
Method moved to https://github.com/kmille36/thuonghai