Created
September 26, 2017 09:49
-
-
Save jdtournier/74473887e5f6229a4bbea8ef7d3bbef5 to your computer and use it in GitHub Desktop.
work out dependencies of executable
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
#!/bin/bash | |
readelf -d "$1" 2>/dev/null | sed -n -e 's/^.*NEEDED.*\[\(\S*\)\]/\1/p' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment