#!/bin/sh root=$1 find $root/usr/lib{,64} -name "*.la" -print0 | xargs -0 grep -El "dependency_libs='.+'" # it's important this script does not fail if no matches found exit 0