[andrey@localhost exportGo]$ go get github.com/mattn/go-oci8
# github.com/mattn/go-oci8
/usr/bin/ld: skipping incompatible /usr/lib/oracle/12.1/client64/lib/libclntsh.so when searching for -lclntsh
/usr/bin/ld: cannot find -lclntsh
collect2: ошибка: выполнение ld завершилось с кодом возврата 1
That message isn't actually an error - it's just a warning that the file in question isn't of the right architecture (e.g. 32-bit vs 64-bit, wrong CPU architecture). The linker will keep looking for a library of the right type.