Posted in Go语言基础和工具链Go 1.20之前版本调用.so必须加//export注释?错!实测证明__attribute__((constructor)) + __go_init_export_table可绕过cgo导出约束 第一章:Go语言调用.so动态库 … Go 1.20之前版本调用.so必须加//export注释?错!实测证明attribute((constructor)) + __go_init_export_table可绕过cgo导出约束Read more by Golang修行笔记|2026年3月22日|Go语言编程实践, 南京Golang开发, .so动态库加载失败, __attribute__((constructor)), __go_init_export_table