golang调用动态库

ziyouchutuwenwu ·
polaris
社区,需要你我一同完善!
你试试 go install 编译?
#2
更多评论
编译提示错误 /tmp/go-build877222381/command-line-arguments/_obj/loadso.cgo2.o: In function `_cgo_3ec34d744087_Cfunc_test_so_func':./loadso.go:36: undefined reference to `test_so_func' collect2: error: ld returned 1 exit status 这是怎么个情况?
#1