Welcome! Log In Create A New Profile

Advanced

Re: nginx/1.13.9 + njs/head build : ngx_http_js_module.so: undefined symbol

Dmitry Volyntsev
February 20, 2018 04:28PM
Thank you for reporting the problem.

Please, make sure that you do 'make clean’ in njs directory after hg update.


> On 20 Feb 2018, at 22:41, PGNet Dev <pgnet.dev@gmail.com> wrote:
>
> Upgrading nginx 1.13.8 -> 1.13.9 with usual
>
> ./configure \
> ... \
> --add-dynamic-module=/usr/local/src/njs/nginx
>
> and
>
> cd /usr/local/src/njs/nginx
> hg log | head
> changeset: 450:757271547b56
> tag: tip
> user: Dmitry Volyntsev <xeioex@nginx.com>
> date: Tue Feb 20 19:12:55 2018 +0300
> summary: Fixed the names of global functions in backtraces.
>
> ls -al /usr/local/src/njs/nginx
> total 76K
> drwxr-xr-x 2 root root 4.0K Feb 20 11:31 ./
> drwxr-xr-x 6 root root 4.0K Feb 20 11:31 ../
> -rw-r--r-- 1 root root 749 Feb 20 11:31 config
> -rw-r--r-- 1 root root 260 Feb 20 11:31 config.make
> -rw-r--r-- 1 root root 32K Feb 20 11:31 ngx_http_js_module.c
> -rw-r--r-- 1 root root 26K Feb 20 11:31 ngx_stream_js_module.c
>
> No errors on build, but on conf check
>
> /usr/local/sbin/nginx -t -c /usr/local/etc/nginx/nginx.conf
> nginx: [emerg] dlopen() "/usr/local/nginx-modules/ngx_http_js_module.so" failed (/usr/local/nginx-modules/ngx_http_js_module.so: undefined symbol: njs_vm_value_to_ext_string) in /usr/local/etc/nginx/nginx.conf:34
> nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed
>
> where, line 34's
>
> load_module /usr/local/nginx-modules/ngx_http_js_module.so;
>
> and
>
> ls -al /usr/local/nginx-modules/ngx_http_js_module.so
> -rwxr-xr-x 1 root root 1.3M Feb 20 11:26 /usr/local/nginx-modules/ngx_http_js_module.so*
> ldd /usr/local/nginx-modules/ngx_http_js_module.so
> linux-vdso.so.1 (0x00007ffef8db5000)
> libssl.so.1.1 => /usr/local/openssl11/lib64/libssl.so.1.1 (0x00007f8822d18000)
> libcrypto.so.1.1 => /usr/local/openssl11/lib64/libcrypto.so.1.1 (0x00007f882286e000)
> libdl.so.2 => /lib64/libdl.so.2 (0x00007f882266a000)
> libz.so.1 => /lib64/libz.so.1 (0x00007f8822453000)
> libpcre.so.1 => /usr/local/lib64/libpcre.so.1 (0x00007f88221dc000)
> libpcrecpp.so.0 => /usr/local/lib64/libpcrecpp.so.0 (0x00007f8821fd2000)
> libm.so.6 => /lib64/libm.so.6 (0x00007f8821cd5000)
> libc.so.6 => /lib64/libc.so.6 (0x00007f8821934000)
> libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8821717000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f88231d7000)
> libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f8821390000)
> libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f8821179000)
>
> nm /usr/local/nginx-modules/ngx_http_js_module.so | grep "U njs"
> U njs_vm_external_create
> U njs_vm_external_prototype
> U njs_vm_retval_to_ext_string
> U njs_vm_value_to_ext_string

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

nginx/1.13.9 + njs/head build : ngx_http_js_module.so: undefined symbol

PGNet Dev 1427 February 20, 2018 02:44PM

Re: nginx/1.13.9 + njs/head build : ngx_http_js_module.so: undefined symbol

PGNet Dev 385 February 20, 2018 03:30PM

Re: nginx/1.13.9 + njs/head build : ngx_http_js_module.so: undefined symbol

Dmitry Volyntsev 422 February 20, 2018 04:28PM

Re: nginx/1.13.9 + njs/head build : ngx_http_js_module.so: undefined symbol

PGNet Dev 446 February 20, 2018 04:34PM

Re: nginx/1.13.9 + njs/head build : ngx_http_js_module.so: undefined symbol

Dmitry Volyntsev 438 February 21, 2018 01:24AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 244
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready