go test have an error
torfuzx opened this issue · comments
trithing commented
When go test or go build,have an error.
pkg-config --cflags geoip
Package geoip was not found in the pkg-config search path.
Perhaps you should add the directory containing `geoip.pc'
to the PKG_CONFIG_PATH environment variable
No package 'geoip' found
pkg-config: exit status 1
trithing commented
Sorry,I am a fool.First of all, I must install GeoIP Legacy C Library
Ask Bjørn Hansen commented
Glad you figured it out! :-)