Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

nginx: [emerg] dlopen() "modules/libngx_module.so" failed (/lib/libosrc_compression_utils.so: undefined symbol: inflate) #25

Open
khangcnttspkt opened this issue Sep 17, 2024 · 2 comments

Comments

@khangcnttspkt
Copy link

I build on Centos 9 Stream and Rocky Linux 9.4 with same error

@orianelou
Copy link
Member

Hi,

Could you please share the full compilation flow?

@khangcnttspkt
Copy link
Author

Hi,

Could you please share the full compilation flow?

Hi, I compilation:

/opt/nginx/sbin/nginx -V &> /tmp/nginx.ver

./attachments/nginx/ngx_module/nginx_version_configuration.sh --conf /tmp/nginx.ver build_out
cmake -DCMAKE_INSTALL_PREFIX=build_out .
make install
make package

cd build_out
./install-cp-nano-nginx-attachment.sh --install
cp -rf build_out/lib/libngx_module.so /opt/nginx/modules

my nginx version:
nginx version: nginx/1.27.0
built by gcc 11.4.1 20231218 (Red Hat 11.4.1-3) (GCC)
built with OpenSSL 1.1.1w 11 Sep 2023
TLS SNI support enabled
configure arguments: --prefix=/opt/nginx --sbin-path=/opt/nginx/sbin/nginx --lock-path=/opt/nginx/nginx.lock --conf-path=/opt/nginx/conf/nginx.conf --modules-path=/opt/nginx/modules --error-log-path=/opt/nginx/logs/error.log --http-log-path=/opt/nginx/logs/access.log --user=nginx --group=nginx --with-http_stub_status_module --with-pcre --with-openssl=../openssl-1.1.1w/ --with-zlib=../zlib-1.3.1 --with-http_ssl_module --with-stream --add-dynamic-module=../headers-more-nginx-module-0.37 --add-dynamic-module=../ngx_http_geoip2_module-3.4

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants