Skip to content

fatal error: oci.h: No such file or directory #5

Closed
@kelein

Description

There was a fatal error occurs when I executed go get github.com/mattn/go-oci8 and copy oci8.pc file and then go get as follow:

go get -u github.com/iamseth/oracledb_exporter

The error details is:

# github.com/iamseth/oracledb_exporter/vendor/github.com/mattn/go-oci8
/usr/local/golang/src/github.com/iamseth/oracledb_exporter/vendor/github.com/mattn/
go-oci8/oci8.go:4:17: fatal error: oci.h: No such file or directory
 #include <oci.h>
                 ^
compilation terminated.

And my go env is:

go version go1.6 linux/amd64

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions