瀏覽代碼

add instruction how to build usql with oracle sql support

master
Markus Bergholz 9 月之前
父節點
當前提交
fe1d3377f3
共有 1 個文件被更改,包括 31 次插入0 次删除
  1. 31
    0
      aur/usql/README.md

+ 31
- 0
aur/usql/README.md 查看文件

@@ -0,0 +1,31 @@
install `pacman -S go extra/unixodbc core/pkgconf`

install from aur
* oracle-instantclient-basic
* oracle-instantclient-sdk


use this `oci8.pc`

```
libdir=/usr/lib/client64/lib
includedir=/usr/include

glib_genmarshal=glib-genmarshal
gobject_query=gobject-query
glib_mkenums=glib-mkenums

Name: oci8
Description: oci8 library
Libs: -L${libdir} -lclntsh
Cflags: -I${includedir}
Version: 18.3
```

then `export PKG_CONFIG_PATH=~/`

do ` go get -u -tags all github.com/xo/usql`

and add `~/go/bin` to `$PATH`

done.

Loading…
取消
儲存