error when dynamically compile nginx module

Job ID: 35513023

Budget: $30 – $250 USD

Hello,

Im trying to compile modsecurity module for a custom nginx version in Linux Ubuntu 20, although when compiled and loaded into nginx, it throws and error regarding undefined symbols and doesn't compile. Need someone to fix this error and provide steps how to compile it properly.

/home/test/bin/nginx/sbin/nginx -t
nginx: [emerg] dlopen() "/home/test/bin/nginx/modules/ngx_http_modsecurity_module.so" failed (/home/test/bin/nginx/modules/ngx_http_modsecurity_module.so: undefined symbol: ngx_http_top_body_filter) in /home/test/bin/nginx/conf/nginx.conf:4
nginx: configuration file /home/test/bin/nginx/conf/nginx.conf test failed

DONT BID IF YOU DONT RECOGNIZE THIS ERROR.
Related categories: Linux Nginx Ubuntu