Skip to content

Instantly share code, notes, and snippets.

@CardealRusso
Last active August 22, 2023 10:40
Show Gist options
  • Save CardealRusso/f0c01e24d530234673ec2606b40b5bc4 to your computer and use it in GitHub Desktop.
Save CardealRusso/f0c01e24d530234673ec2606b40b5bc4 to your computer and use it in GitHub Desktop.
recursive patchelf
find . -type f -exec sh -c 'ldd "$1" | grep -q "/lib64/" && echo "$1 atualizado" && patchelf --set-interpreter /lib/ld-linux-x86-64.so.2 "$1"' sh {} \; 2>/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment