error:

# github.com/godror/godror
../go/pkg/mod/github.com/godror/godror@v0.34.0/orahlp.go:530:19: undefined: VersionInfo
../go/pkg/mod/github.com/godror/godror@v0.34.0/orahlp.go:531:19: undefined: VersionInfo
../go/pkg/mod/github.com/godror/godror@v0.34.0/orahlp.go:532:10: undefined: StartupMode
../go/pkg/mod/github.com/godror/godror@v0.34.0/orahlp.go:533:11: undefined: ShutdownMode
../go/pkg/mod/github.com/godror/godror@v0.34.0/orahlp.go:535:31: undefined: Event
../go/pkg/mod/github.com/godror/godror@v0.34.0/orahlp.go:535:42: undefined: SubscriptionOption
../go/pkg/mod/github.com/godror/godror@v0.34.0/orahlp.go:535:64: undefined: Subscription
../go/pkg/mod/github.com/godror/godror@v0.34.0/orahlp.go:536:31: undefined: ObjectType
../go/pkg/mod/github.com/godror/godror@v0.34.0/orahlp.go:537:59: undefined: Data
../go/pkg/mod/github.com/godror/godror@v0.34.0/orahlp.go:538:28: undefined: DirectLob
../go/pkg/mod/github.com/godror/godror@v0.34.0/orahlp.go:538:28: too many errors

sol:
编译时候开启cgo

发表回复

您的电子邮箱地址不会被公开。

Captcha Code