[GH-ISSUE #86] go test have an error #348

Closed
opened 2026-03-13 14:44:27 +03:00 by kerem · 2 comments
Owner

Originally created by @torfuzx on GitHub (Nov 2, 2015).
Original GitHub issue: https://github.com/abh/geodns/issues/86

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

Originally created by @torfuzx on GitHub (Nov 2, 2015). Original GitHub issue: https://github.com/abh/geodns/issues/86 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
kerem closed this issue 2026-03-13 14:44:32 +03:00
Author
Owner

@torfuzx commented on GitHub (Nov 2, 2015):

Sorry,I am a fool.First of all, I must install GeoIP Legacy C Library

<!-- gh-comment-id:152907619 --> @torfuzx commented on GitHub (Nov 2, 2015): Sorry,I am a fool.First of all, I must install GeoIP Legacy C Library
Author
Owner

@abh commented on GitHub (Nov 2, 2015):

Glad you figured it out! :-)

<!-- gh-comment-id:152918047 --> @abh commented on GitHub (Nov 2, 2015): Glad you figured it out! :-)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/geodns#348
No description provided.