Go使用godror库编译时报错“:
# github.com/godror/godror
/root/go/pkg/mod/github.com/godror/godror@v0.34.0/conn.go:9:10: fatal error: stdlib.h: No such file or directory
9 | #include <stdlib.h>
| ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:8: build] Error 2
Running after_script
Uploading artifacts for failed job
解决
编译时需要安装g++
Comments | NOTHING