mattn / go-oci8

Oracle driver for Go using database/sql

Home Page:https://mattn.kaoriya.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error $GOPATH/src/github.com/mattn/go-oci8/oci8.go:116:25: could not determine kind of name for C.OCI_SYSASM

aagrrla opened this issue · comments

I commented out $GOPATH/src/github.com/mattn/go-oci8/oci8.go:116 and 117
Then I got following error.
$GOPATH/src/github.com/mattn/go-oci8/connection.go:24:21: too many arguments in call to _Cfunc_OCIPing
have (*_Ctype_struct_OCISvcCtx, _Ctype_struct_OCIError, number)
want (
_Ctype_struct_OCISvcCtx, *_Ctype_struct_OCIError)

Next I removed , C.OCI_DEFAULT (3rd parameter) at connection.go:24.

Now everything is working for oracle_instant_client_19_6.

I just wanted to note it down if that may be helpful.

Thanks.

Anyone else get this error? If not, seems like this can be closed.