我主要是要安装go的一个package
go get github.com/mattn/go-sqlite3
所以要安装sqlite3
以下是我的环境和安装情况:
Mac OS x Lion version 10.8.2
Homebrew 0.9.3
安装sqlite 和pkg-config 这个安装包的时候需要
brew install pkgconfig sqlite3
go version go1.0.3
go安装package报错
ajian@Ajians-MacBook-Pro:/usr $go get github.com/mattn/go-sqlite3
# pkg-config --cflags sqlite3
Package sqlite3 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sqlite3.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sqlite3' found
exit status 1
PKG_CONFIG_PATH该如何设置呢。