How can I list all executables on my Red Hat Linux system which link to libssl? I can get close with:
find / -type f -perm /a+x -exec ldd {} \; | grep libssl
ldd shows me which libraries the executable links with, but the line that contains the library name does not also show the filename, so although I get a lot of matches with grep, I can't figure out how to back out the name of the executable from which the match occured. Any help would be greatly appreciated.