diff --git a/test-script/libtest.sh b/test-script/libtest.sh new file mode 100755 index 0000000..9a58883 --- /dev/null +++ b/test-script/libtest.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Simple script to check broken or missing libraries +# Willy Sudiarto Raharjo 2014 + +for L in `ls /usr/bin`; do + if [ -f /usr/bin/$L ]; then + ldd /usr/bin/$L | grep -i "not found" + if [ $? -eq 0 ]; then + echo $L; + fi + fi +done