Open fjfjfan opened 4 months ago
This is success from my side.
nginx version: openresty/1.25.3.1
built by gcc 11.4.1 20230605 (Red Hat 11.4.1-2) (GCC)
built with OpenSSL 3.0.7 1 Nov 2022
TLS SNI support enabled
configure arguments: --prefix=/usr/local/openresty/nginx --with-debug --with-cc-opt='-DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC -O2 -I/usr/local/include' --add-module=../ngx_devel_kit-0.3.3 --add-module=../iconv-nginx-module-0.14 --add-module=../echo-nginx-module-0.63 --add-module=../xss-nginx-module-0.06 --add-module=../ngx_coolkit-0.2 --add-module=../set-misc-nginx-module-0.33 --add-module=../form-input-nginx-module-0.12 --add-module=../encrypted-session-nginx-module-0.09 --add-module=../srcache-nginx-module-0.33 --add-module=../ngx_lua-0.10.26 --add-module=../ngx_lua_upstream-0.07 --add-module=../headers-more-nginx-module-0.37 --add-module=../array-var-nginx-module-0.06 --add-module=../memc-nginx-module-0.20 --add-module=../redis2-nginx-module-0.15 --add-module=../redis-nginx-module-0.3.9 --add-module=../rds-json-nginx-module-0.16 --add-module=../rds-csv-nginx-module-0.09 --add-module=../ngx_stream_lua-0.0.14 --with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib' --with-http_ssl_module --with-stream --without-pcre2 --with-stream_ssl_module --with-stream_ssl_preread_module
libluajit-5.1.so.2 => /usr/local/openresty/luajit/lib/libluajit-5.1.so.2 (0x000003ff91200000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x000003ff91080000)
libssl.so.3 => /lib64/libssl.so.3 (0x000003ff90f80000)
* OpenResty successfully installed *
********************************************************************************************************
* Getting Started *
You have successfully installed OpenResty.
To Run OpenResty run the following commands :
export PATH=/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin:$PATH
resty -V
resty -e 'print("hello, world")'
**********************************************************************************************************
[root@d03042b281c7 /]# uname -a
Linux d03042b281c7 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:29 UTC 2023 s390x s390x s390x GNU/Linux
[root@d03042b281c7 /]#
the ubi9 docker image I used
110 docker pull redhat/ubi9:latest
111 docker run -it redhat/ubi9:latest
Use the similar steps(on RHEL 9.3) to build OpenResty on ubi 9.3, but got error like:
steps to reproduce: