export LANG=C
ldd $1 2>/dev/null | grep "=>" | sed "s/(.*)//g" | sort | uniq |  \
  sed "s/.*=. //g" | sed "s/lib64/lib/g" | xargs inary sf | grep "has file" | \
  awk '{print $2}' | sort | uniq | sed "s/^\"/    <Dependency>/g" | sed "s/\"$/<\/Dependency>/g"

