mattn / go-oci8

Oracle driver for Go using database/sql
https://mattn.kaoriya.net/
MIT License
630 stars 212 forks source link

oci8_go18.go:11:10: undefined: OCI8Conn #257

Closed ChenXinGuang1003 closed 6 years ago

ChenXinGuang1003 commented 6 years ago

use go-oci8 connect oracle in windows,"go bulid" in beego is ok,but "bee pack -be GOARCH=amd64 -be GOOS=linux ",create error: "oci8_go18.go:11:10: undefined: OCI8Conn"

mattn commented 6 years ago

You MUST install cross C compiler for Linux.