ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. It has a robust event-based programming language which provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis.
On my Host Machine, I installed ModSecurity from source (using compile and make). After that, I installed ModSecurity and Nginx version 1.24.0 with the connector to create the ngx_http_modsecurity.so file. The file was successfully created without any errors.
On my Client Machine, I installed Nginx version 1.24.0 and tried to use this ngx_http_modsecurity.so file from Host Machine. However, an error occurred: :dlopen() /etc/nginx/modules/ngx_http_modsecurity_module.so: undefined symbol: pcre_malloc, and Nginx failed to start.
Note: I tried installing Nginx directly on the Host Machine, and everything worked fine. Both machines are running Nginx version 1.24.0, Ubuntu Server 24.04
Can someone help me with this issue? Thank you very much!
On my Host Machine, I installed ModSecurity from source (using compile and make). After that, I installed ModSecurity and Nginx version 1.24.0 with the connector to create the ngx_http_modsecurity.so file. The file was successfully created without any errors.
On my Client Machine, I installed Nginx version 1.24.0 and tried to use this ngx_http_modsecurity.so file from Host Machine. However, an error occurred: :
dlopen() /etc/nginx/modules/ngx_http_modsecurity_module.so: undefined symbol: pcre_malloc,
and Nginx failed to start.Note: I tried installing Nginx directly on the Host Machine, and everything worked fine. Both machines are running Nginx version 1.24.0, Ubuntu Server 24.04
Can someone help me with this issue? Thank you very much!