Replace mplayer with the program you wish to check dependencies for:
ldd `which mplayer` | grep not
The results of are piped through the grep command which only lets through the results containing the word 'not':
# ldd `which mplayer` | grep not libsmbclient.so.0 => not found