Created
April 26, 2014 09:09
-
-
Save azat/11315401 to your computer and use it in GitHub Desktop.
This file contains 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
# Will print commands to run on another machine | |
# to validate that all symbols/versions available there. | |
env LD_DEBUG=all /path/to/bin -h 2>&1 | fgrep 'checking for version' | awk '{sym=$5; gsub(/[^a-zA-Z.0-9_]/, "", sym); printf "echo %s:%s && nm -D %s | fgrep %s || echo NOT FOUND\n", $8, sym, $8, sym}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment