From e4eea0cda1e1ccde11957fc1f414675a8897be8d Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 4 Oct 2017 16:53:16 +0200 Subject: [PATCH] glibc: Add /lib/ld-linux-x86-64.so symlink /lib64/ld-linux-x86-64.so.2 is the intepreter for dynamic executables. Our /lib64 is a symlink to /lib. Create the link /lib/ld-linux-x86-64.so.2 -> /lib/ld-X.XX.so --- glibc.be0 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/glibc.be0 b/glibc.be0 index 10a3ea64b..adf4412db 100755 --- a/glibc.be0 +++ b/glibc.be0 @@ -114,8 +114,10 @@ mee_install_post() { cd - fi - # our /lib64 is a symlink to /lib now, so we don't need /lib64/ld-linux-x86-64.so.2 -> ../lib/ld-2.25.so - - rm $D/lib64/ld-linux-x86-64.so.2 + # "make install" created (e.g.) /lib64/ld-linux-x86-64.so.2 -> ../lib/ld-2.26.so + # we have /lib64 -> /lib , so remove the lib64 directory and create a new link + # + rm $D/lib64/ld-linux-x86-64.so.${PKGVERSION[1]} rmdir $D/lib64 + ln -s ld-$PKGVERSION.so $D/lib/ld-linux-x86-64.so.${PKGVERSION[1]} }