openresty / openresty

High Performance Web Platform Based on Nginx and LuaJIT
https://openresty.org
Other
12.44k stars 1.53k forks source link

Building OpenResty with PCRE2 gives an error: pcre_version not defined #959

Open jinyeng opened 7 months ago

jinyeng commented 7 months ago

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

openresty-1.25.3.1 openssl-1.1 pcre2-10.42.tar

zhuizhuhaomeng commented 7 months ago

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

michacassola commented 5 months ago

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

zhuizhuhaomeng commented 5 months ago

@michacassola
We will launch a new version in April

catatsuy commented 3 months ago

@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!