./configure: error: the GeoIP module requires the GeoIP library.

593 단어 errorgeoiplibrary.
최근 에 설 치 된 nginx 의 geo 모듈 은 nginx 를 컴 파일 할 때 오류 가 발생 했 습 니 다. 오류 보고 정 보 는 다음 과 같 습 니 다.
checking for OpenSSL library ... found
checking for zlib library ... found
checking for GeoIP library ... not found
checking for GeoIP library in /usr/local/ ... not found
checking for GeoIP library in /usr/pkg/ ... not found
checking for GeoIP library in /opt/local/ ... not found
./configure: error: the GeoIP module requires the GeoIP library.
You can either do not enable the module or install the library.

해결 방법:
 
apt-get install libgeoip-dev

좋은 웹페이지 즐겨찾기