For the installation of sqlite3 on Mac OS x Lion, I mainly want to install packagego get github.com/mattn/go-sqlite3 of go. Therefore, the installation of sqlite3 is as follows: when installing the sqlite and pkg-config installation packages for Mac OS x Lion version 10.8.2 Homebrew 0.9.3, run the following command: /usr $ go get github.com/mattn/go-sqlite3# pkg-config -- cflags sqlite3Package sqlite3 was not found in the pkg-config search path. perhap S you should add the directory containing 'sqlite3. pc' to the PKG_CONFIG_PATH environment variableNo package 'sqlite3 'foundexit status 1PKG_CONFIG_PATH how to set it. I figured out a solution: Because the error says PKG_CONFIG_PATH could not find 'sqlite3. pc, So I first find 'sqlite3 under/usr/local. pc: Where can I add this path to the Environment Variable? find/usr/local/-name "sqlite3.pc"/usr/local/Cellar/sqlite/3.7.15.1/lib/pkgconfig /sqlite3.pcajian @ Ajians-MacBook-Pro: /usr $ export PKG_CONFIG_PATH =/usr/lib/pkgconfig:/usr/lib:/usr/local/Cellar/sqlite/3.7.15.1/lib/pkgconfigajian @ Ajians-MacBook-Pro: /usr $ go get github.com/mattn/go-sqlite3..