openresty / openresty

High Performance Web Platform Based on Nginx and LuaJIT

Home Page:https://openresty.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building OpenResty with PCRE2 gives an error: pcre_version not defined

jinyeng opened this issue · comments

When running make install we are getting following error fails. We are trying to use pcre2-10.42 for building. Configure works fine but then make fails.

./configure -j2 --prefix=/usr/local/openresty-1.25.3.1 --with-http_ssl_module --with-openssl=../openssl1.1 --with-pcre=../pcre2-10.42 --with-debug

make

Error: /opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: required symbol `pcre_version' not defined
collect2: error: ld returned 1 exit status

  • The exact version of the related software

openresty-1.25.3.1
openssl-1.1
pcre2-10.42.tar

Thanks for your feedback.
Would you please patch the code with this PR?
https://github.com/openresty/stream-lua-nginx-module/pull/335/files

Hey @zhuizhuhaomeng, when will this be reflected in a release?

@michacassola
We will launch a new version in April

@zhuizhuhaomeng I see that the fix is available in the HEAD version. You mentioned in April that a new release would be out soon, but it's now May and it hasn't been released yet.

Could you please release the new version as soon as possible? It would help me a lot.

Thank you!