From dc50d7af32d2a0145d73524819be215b7e324460 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 11 Apr 2014 12:11:51 +0700 Subject: [PATCH] Add missing test script Signed-off-by: Willy Sudiarto Raharjo --- test-script/libtest.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 test-script/libtest.sh 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