Last active
August 22, 2023 10:40
-
-
Save CardealRusso/f0c01e24d530234673ec2606b40b5bc4 to your computer and use it in GitHub Desktop.
recursive patchelf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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