环境 Ubuntu 22.04 lts 问题现象 # runtime/cgo _cgo_export.c:3:10: fatal error: stdlib.h: No such file or directory 3 | #include <stdlib.h> | ^~~~~~~~~~ 解决方案 sudo apt install musl-dev