From 2471d5e25ee8a975dd95d703fc90a8f888b0dc25 Mon Sep 17 00:00:00 2001 From: ciscon Date: Thu, 14 Sep 2023 13:32:27 -0400 Subject: [PATCH] APPIMAGE: include libpthread in libc overrides for when not using native libc --- misc/appimage/appimage-manual_creation.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/appimage/appimage-manual_creation.sh b/misc/appimage/appimage-manual_creation.sh index c381e7475..cce3cf361 100755 --- a/misc/appimage/appimage-manual_creation.sh +++ b/misc/appimage/appimage-manual_creation.sh @@ -93,6 +93,7 @@ strip -s "$DIR/AppDir/usr/lib/"* || exit 5 strip -s "$DIR/AppDir/usr/bin/"* || exit 5 mv -f "$DIR/AppDir/usr/lib/libc.so.6" "$DIR/AppDir/usr/lib-override/." mv -f "$DIR/AppDir/usr/lib/libm.so.6" "$DIR/AppDir/usr/lib-override/." +cp -f "$(ldconfig -Np|grep --color=never libpthread.so.0$|grep --color=never $(uname -m)|awk '{print $NF}')" "$DIR/AppDir/usr/lib-override/." cp -Lf "/lib64/ld-linux-${ARCHDASH}.so.2" "$DIR/AppDir/usr/lib-override/." || exit 6 cd "$DIR" || exit 5