# ls /usr/local/lib
libsregex.a libsregex.so
# ls /usr/local/include
sregex
but ./configure --add-module=/root/src/replace-filter-nginx-module occurred error:
adding module in /root/src/replace-filter-nginx-module
checking for agentzh's sregex library ... not found
checking for agentzh's sregex library in /usr/local/ ... not found
./configure: error: ngx_http_replace_filter_module requires agentzh's sregex library.
sregex installing with default prefix:
but
./configure --add-module=/root/src/replace-filter-nginx-module
occurred error: