Given a needed.txt
file with required dependencies, search thorough these given directories for them:
- /usr/lib
- /usr/lib32
- /usr/lib64
Following this stackoverflow post:
objdump -p /path/to/binary/here | grep NEEDED | awk '{ print $2 }' > needed.txt