modsecurity-2.9.3 컴파일 에러
centos7 / apache 2.4.36 / mod_security 에러 발생시 해결. https://forum.directadmin.com/showthread.php?t=56837 In file included from modsecurity.h:49:0, from apache2_config.c:17: msc_remote_rules.h:54:9: error: unknown type name ‘apr_crypto_key_t’ apr_crypto_key_t **apr_key, msc_remote_rules.h:55:9: error: unknown type name ‘apr_crypto_t’ apr_crypto_t *f, make[2]: *** [mod_security2_la-apache2_config.lo] Error 1 make[2]: Leaving directory /usr/local/src/modsecurity-2.9.3/apache2′ make[1]: *** [all] Error 2 make[1]: Leaving directory /usr/local/src/modsecurity-2.9.3/apache2' make: *** [all-recursive] Error 1 처음에 진행한 config ./configure –with-apxs=/usr/local/apache/bin/apxs apr 관련 에러가 발생한다. 이경우엔 apache 에서 사용하는 apr 이 apr_crypto_key_t 를 지원하지 않는것이다. 라고 생각했는데 아니었다 apr이 지정안되서 그냥 안되는거였다. ...