I'm trying to connect to a db2 using golang using https://bitbucket.org/phiggins/db2cli. While trying to follow the instructions, I run into this error
vendor/bitbucket.org/phiggins/db2cli/api/api_unix.go:12:11: fatal
error: 'sqlcli1.h' file not found
#include <sqlcli1.h>
^~~~~~~~~~~
1 error generated.
This is the script I tried to use
#!/bin/bash
DB2HOME=$HOME/sqllib
export CGO_LDFLAGS=-L$DB2HOME/lib
export CGO_CFLAGS=-I$DB2HOME/include
go install .
Could someone point me to what I need to do to use db2cli? I'm running this code on a macbook.