Closed GaneshKandu closed 2 years ago
Hello @GaneshKandu ,
I recently followed these instructions https://serverdiary.com/linux/how-to-install-and-configure-nginx-modsecurity-on-centos-7/ (with the exception that I just use a simple clone for the two git instructions) with nginx-1.20.1 on CentOS7 and did not encounter the error you report.
It's possible that you are encountering some issue related to the additional options and commands that you are using.
It is also possible that there is some difference related to use of CentOS 6. Since that is EOL, I haven't built with that recently.
However, perhaps the most likely explanation is that you didn't do 'make install' after the 'make' within modsecurity-v3.0.6.
That exact error message will be seen if that 'make install' did not occur. See for example https://github.com/SpiderLabs/ModSecurity/issues/1805. I also just confirmed myself that that message appears if the 'make install' is missed.
Hi brother who is reading this issues, if you are having similar problems, please first check the version of ModSecurity you have installed and make sure you have v3.x
installed instead of v2.x
.
(In some lagging package repositories, you may have v2.x installed by default)
If you are v2.x
, uninstall it. Download and compile a v3.x version from the release page, then recompile your Nginx.
If you have v3.x
, then I'm sorry, I can't help you, so help yourself. (๑•̀ㅂ•́)و✧
Good luck, from a programmer with an exploding mind.
Translated with www.DeepL.com/Translator (free version)
Hi,
I am trying to install modsecurity module for nginx
OS on i trying to install is Centos 6
steps i followed are
Don't know what i am doing wrong , i am getting this error on
./configure
command