If I have a shared library called libAlpha.so
, then in Ubuntu I can find its dependencies by running the command ldd libAlpha
.
Is there a similar command in Ubuntu to find the dependencies of an executable?
If I have a shared library called libAlpha.so
, then in Ubuntu I can find its dependencies by running the command ldd libAlpha
.
Is there a similar command in Ubuntu to find the dependencies of an executable?
ldd
works fine on executables too.
Just pass the path to the executable : ldd /bin/ls