./configure --add-module=../ngx_devel_kit-0.2.19/ --add-module=../lua-nginx-module-0.9.19/  --with-ld-opt="-L /usr/local/lib"  

 在末尾加上 --with-ld-opt="-L /usr/local/lib", 这个路径是pcre的安装路径。

 

还有另外一种方式,是使用源码,在后面加上:

--with-pcre=../pcre-8.30 --with-pcre-jit 

pcre-8.30为pcre的源码,它与nginx的源码放在同级目录。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2022-02-23
  • 2021-06-21
  • 2022-01-12
  • 2021-10-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
相关资源
相似解决方案