Posted in 问题排查与答疑Go调用C时出现“undefined reference to `pthread_create’”?不是缺-lpthread,而是你忽略了这个CGO_LDFLAGS顺序 第一章:Go调用C语言的底层机制 … Go调用C时出现“undefined reference to `pthread_create’”?不是缺-lpthread,而是你忽略了这个CGO_LDFLAGS顺序Read more by 架构思考者|2026年4月8日|CGO调用C库损耗分析, pthread_create未定义, CGO_LDFLAGS顺序, -lpthread链接顺序, CGO链接错误