4 ms·
I usually just do: objdump -x <binary> | grep NEEDED but this is a great tip !
by rkeene2 5y ago
I usually just do: objdump -x <binary> | grep NEEDED but this is a great tip !
- colonwqbang 5y agoOften you need to find not only the soname but the actual .so file that is found and linked. This can be affected by environment variables like LD_PRELOAD and LD_LIBRARY_PATH. Unfortunately I don't know of a way to check this without ldd. If somebody knows of a tool that can do this without executing the binary, please share.
- eqvinox 5y agolddtree does handle LD_LIBRARY_PATH. It doesn't care about LD_PRELOAD though.