From 30d6914bb5cc4a525380843b7fe46a9a0312d7d4 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sat, 9 Sep 2017 00:18:24 +0100 Subject: [PATCH] Fix ldd on 64bit executables using ld-linux-x86-64.so.2 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 7a9b1dd..f75a698 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,6 +58,7 @@ RUN curl -fL https://ftp.gnu.org/gnu/glibc/glibc-${GLIBC_VER}.tar.xz \ RUN strip -s out/sbin/ldconfig && \ # Patch ldd to use sh not bash sed -i '1s/.*/#!\/bin\/sh/' out/usr/bin/ldd && \ + sed -i 's/lib64/lib/g' out/usr/bin/ldd && \ # Copy glibc libs & loader cp -d out/usr/lib/*.so* "${PREFIX}/usr/lib" && \ cp -d out/usr/bin/ldd "${PREFIX}/bin" && \