owasp-modsecurity / ModSecurity-apache

ModSecurity v3 Apache Connector
Apache License 2.0
87 stars 51 forks source link

installing and configuring Mod-Security #48

Closed mrgeek79 closed 5 years ago

mrgeek79 commented 5 years ago

Hi. I want to install Mod-Security on Apache ( I use Ubuntu ). When I configure with this code ./configure

The result will be:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
configure: looking for Apache module support via DSO through APXS
configure: found APXS at /usr/bin/apxs2
configure: looking for libmodsecurity
configure: error: couldn't find libmodsecurity

I'm not even sure that the package is already installed (truly) or no... Help Me Pls...

victorhora commented 5 years ago

@mrgeek79

Have you installed the libModSecurity library prior to trying to compile ModSecurity-apache?

For instructions on how to setup libModSecurity please see: https://github.com/SpiderLabs/ModSecurity/blob/v3/master/README.md

The Compilation Recipes should also be helpful.