Open elvizlai opened 5 years ago
Same error here. Is there anyone who solved this ?
I'm seeing the same error on Alpine 3.11 after installing the 2.31-r0 apk.
My /usr/glibc-compat/lib/
contains ld-2.31.so
and ld-linux-x86-64.so.2
which are identical:
alpine311:/usr/glibc-compat/lib$ cmp -l ld-2.31.so ld-linux-x86-64.so.2
alpine311:/usr/glibc-compat/lib$ echo $?
0
so I just baleeted the latter and made it a symlink:
alpine311:~$ cd /usr/glibc-compat/lib/ \
&& sudo rm ld-linux-x86-64.so.2 \
&& sudo ln -s ld-2.31.so ld-linux-x86-64.so.2
This seems to resolve the issue.
I nominate @kthy for best use of "baleeted" in a GitHub issue
Learned some neat trick today can combine @kthy 's fix into one command.
$ sudo ln -svf ld-2.31.so /usr/glibc-compat/lib/ld-linux-x86-64.so.2
Dockerfile