openresty / replace-filter-nginx-module

Streaming regular expression replacement in response bodies
260 stars 68 forks source link

Not able to load the module dynamically #34

Closed ghost closed 1 year ago

ghost commented 1 year ago

When I am dynamically loading the module using --add-dynamic-module, and then loading it using load_module directive, it is showing the following error:

nginx: [emerg] dlopen() "/usr/local/src/nginx-1.25.1/objs/ngx_http_replace_filter_module.so" failed (libsregex.so.0: cannot open shared object file: No such file or directory)

I have also install sregex and it was successfully built but still I am facing this error.