main/musl libc6-compat broken for most libraries on x86_64
With
https://git.alpinelinux.org/aports/commit/main/musl/APKBUILD?id=7b32fee49798e36cb5a7dfde30183f9717472cf6
/lib64
was changed to a separate folder.
Before /lib64
was a symlink to /lib
.
Now ld-linux-x86-64.so.2
is only created as
/lib64/ld-linux-x86-64.so.2
and therefore no longer available in
/lib/ld-linux-x86-64.so.2
.
Unfortunately, /lib64
is not in the default LD_LIBRARY_PATH
. As a
result of this, loading of libraries built with glibc is broken in
alpine >= 3.9 (except for those libraries who refer explicitly to
/lib64/ld-linux-x86-64.so.2).
This caused https://github.com/docker-flink/docker-flink/issues/69 .
(from redmine: issue id 10140, created on 2019-03-20)