Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't go get the package #24

Open
toster2015 opened this issue Mar 13, 2016 · 7 comments
Open

Can't go get the package #24

toster2015 opened this issue Mar 13, 2016 · 7 comments

Comments

@toster2015
Copy link

Using latest go 1.6.1 on Windows I cannot get the package to work. I downloaded and installed pkg-config but whenever i do go get github.com/abh/geoip I get the following:

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

@631068264
Copy link

+1 I have the same problem

@ezioruan
Copy link

ezioruan commented Apr 27, 2016

+1 I have the same problem on Mac os

@sfblaauw
Copy link

You need to install GeoIP Legacy C Library
Using brew on Mac $ brew install geoip
Sorry, I'm not a Windows user

@bscott
Copy link

bscott commented Nov 6, 2016

I'm on a Mac OS X and still getting the error after installing geoip from Brew

$ brew install geoip                                                                                                                                                    2.3.1
Warning: geoip-1.6.9 already installed
$ go get github.com/abh/geoip                                                                                                                                           2.3.1
# 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

@ghost
Copy link

ghost commented Dec 3, 2016

Seeing it on Debian as well, the fix is to install libgeoip-dev. Can't comment on Windows though.

@jiangdl
Copy link

jiangdl commented Mar 17, 2017

try it : $ brew install pkg-config

@danieldids
Copy link

Seeing it on Debian as well, the fix is to install libgeoip-dev. Can't comment on Windows though.

Ubuntu desktop 20.40: this fixed it too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants