shell: ldd (List dynamic dependencies, lists all the dynamic link libraries that the current executable program or dynamic link library depends on)

ldd, the full name is List dynamic dependencies. List all the dynamic link libraries that the current executable program or dynamic link library depends on

For example, I wrote a KMP executable program, look at which dynamic libraries it depends on

ldd KMP

Then let's take a look at which libraries /usr/lib/x86_64-linux-gnu/libstdc++.so.6 depends on

Have you discovered that the ldd command lists all the libraries that libstdc++.so.6 depends on when the blogger uses the ldd command.

 

Guess you like

Origin blog.csdn.net/weixin_40179091/article/details/112352056