且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Linux中,如何判断我是链接到静态库还是动态库?

更新时间:2023-11-09 12:30:52

您可以尝试在可执行文件上运行 ldd ,并查看是否在依赖项列表中按要求检测到附带的.so.

You can try running ldd on the executable and seeing if the accompanying .so is being detected as required in the list of dependencies.

ldd手册页位于此处.