Created
September 25, 2015 23:40
-
-
Save kckrinke/237d62c827a1283203d2 to your computer and use it in GitHub Desktop.
List missing ldd files
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 | |
sudo ldconfig -p \ | |
| grep "=>" \ | |
| perl -pe 's!^.*\=\>\s(.+?)\s*$!$1\n!' \ | |
| while read SO; do [ ! -f "${SO}" ] && echo "missing: ${SO}"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment