csb/test-script/libtest.sh
Willy Sudiarto Raharjo dc50d7af32 Add missing test script
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
2014-04-11 12:11:51 +07:00

12 lines
253 B
Bash
Executable file

#!/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