Configure error: GeoIP.h: No such file or directory

I need GeoIP.h file which is provided by GeoIP-devel package in CentOS. But I could not see GeoIP and GeoIP-devel package in Rocky Linux 9.1 repos and also in epel9 repo. Which package will provide GeoIP.h file in Rocky Linux or epel9?

Hey @sankarkumar,

looks like it was in EPEL 8 previously, but not anymore :slightly_smiling_face:

But you can find it in the Remi’s repo!
https://rhel.pkgs.org/9/remi-x86_64/GeoIP-devel-1.6.12-9.el9.remi.x86_64.rpm.html
(https://pkgs.org/search/?q=GeoIP.h)
Rocky Linux Repositories - Rocky Linux Wiki

1 Like

Please notice that GeoIP is considered as deprecated and unmaintained

You should rather use libmaxmindb (aka GeoIP2)

3 Likes

Thank you @lumarel. I will check this Remi’s repo.

1 Like