linux静动态依赖

博客主要围绕glibc-static的安装展开,安装过程中出现了 /usr/bin/ld: cannot find -lpthread 和 /usr/bin/ld: cannot find -lc 的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

安装glibc-static

/usr/bin/ld: cannot find -lpthread/usr/bin/ld: cannot find -lc