help, undefined symbol: ngx_http_lua_ffi_socket_tcp_tlshandshake

115 views
Skip to first unread message

xue

unread,
Mar 13, 2020, 10:46:55 AM3/13/20
to openresty
/usr/local/openresty/lualib/resty/core/socket_tcp.lua:91: /usr/local/openresty/luajit/lib/libluajit-5.1.so.2: undefined symbol: ngx_http_lua_ffi_socket_tcp_tlshandshake

stack traceback:
/usr/local/openresty/lualib/resty/core/socket_tcp.lua:91: in function 'tlshandshake'
/usr/local/openresty/lualib/resty/core/socket_tcp.lua:164: in function 'ssl_handshake'

why ???

xue

unread,
Mar 13, 2020, 10:53:48 AM3/13/20
to openresty
resty 0.23
nginx version: openresty/1.15.8.2
built by gcc 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC) 
built with OpenSSL 1.1.0k  28 May 2019 (running with OpenSSL 1.1.0h  27 Mar 2018)
TLS SNI support enabled
configure arguments: --prefix=/usr/local/openresty/nginx --with-cc-opt='-O2 -DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/zlib/include -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl/include' --add-module=../ngx_devel_kit-0.3.1rc1 --add-module=../echo-nginx-module-0.61 --add-module=../xss-nginx-module-0.06 --add-module=../ngx_coolkit-0.2 --add-module=../set-misc-nginx-module-0.32 --add-module=../form-input-nginx-module-0.12 --add-module=../encrypted-session-nginx-module-0.08 --add-module=../srcache-nginx-module-0.31 --add-module=../ngx_lua-0.10.15 --add-module=../ngx_lua_upstream-0.07 --add-module=../headers-more-nginx-module-0.33 --add-module=../array-var-nginx-module-0.05 --add-module=../memc-nginx-module-0.19 --add-module=../redis2-nginx-module-0.15 --add-module=../redis-nginx-module-0.3.7 --add-module=../ngx_stream_lua-0.0.7 --with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib -L/usr/local/openresty/zlib/lib -L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl/lib -Wl,-rpath,/usr/local/openresty/zlib/lib:/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl/lib' --with-cc='ccache gcc -fdiagnostics-color=always' --with-pcre-jit --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-http_v2_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --with-http_stub_status_module --with-http_realip_module --with-http_addition_module --with-http_auth_request_module --with-http_secure_link_module --with-http_random_index_module --with-http_gzip_static_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-threads --with-dtrace-probes --with-stream --with-stream_ssl_preread_module --with-http_ssl_module

DeJiang Zhu

unread,
Mar 13, 2020, 2:00:21 PM3/13/20
to open...@googlegroups.com
/usr/local/openresty/lualib/resty/core/socket_tcp.lua
这个是你自己写的么?官方的包里应该没有这个文件呢

xue <yangu...@gmail.com> 于2020年3月13日周五 下午10:47写道:
--
--
邮件来自列表“openresty”,专用于技术讨论!
订阅: 请发空白邮件到 openresty...@googlegroups.com
发言: 请发邮件到 open...@googlegroups.com
退订: 请发邮件至 openresty+...@googlegroups.com
归档: http://groups.google.com/group/openresty
官网: http://openresty.org/
仓库: https://github.com/agentzh/ngx_openresty
教程: http://openresty.org/download/agentzh-nginx-tutorials-zhcn.html
---
您收到此邮件是因为您订阅了Google网上论坛上的“openresty”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到openresty+...@googlegroups.com
要在网络上查看此讨论,请访问https://groups.google.com/d/msgid/openresty/660971ba-ed17-4e09-960c-2f664816555d%40googlegroups.com

xue

unread,
Mar 14, 2020, 7:09:58 AM3/14/20
to openresty
谢谢,已经解决   ,用的KONG.

在 2020年3月14日星期六 UTC+8上午2:00:21,doujiang写道:
/usr/local/openresty/lualib/resty/core/socket_tcp.lua
这个是你自己写的么?官方的包里应该没有这个文件呢

xue <yangu...@gmail.com> 于2020年3月13日周五 下午10:47写道:
/usr/local/openresty/lualib/resty/core/socket_tcp.lua:91: /usr/local/openresty/luajit/lib/libluajit-5.1.so.2: undefined symbol: ngx_http_lua_ffi_socket_tcp_tlshandshake

stack traceback:
/usr/local/openresty/lualib/resty/core/socket_tcp.lua:91: in function 'tlshandshake'
/usr/local/openresty/lualib/resty/core/socket_tcp.lua:164: in function 'ssl_handshake'

why ???

--
--
邮件来自列表“openresty”,专用于技术讨论!
订阅: 请发空白邮件到 open...@googlegroups.com
发言: 请发邮件到 open...@googlegroups.com
退订: 请发邮件至 open...@googlegroups.com

归档: http://groups.google.com/group/openresty
官网: http://openresty.org/
仓库: https://github.com/agentzh/ngx_openresty
教程: http://openresty.org/download/agentzh-nginx-tutorials-zhcn.html
---
您收到此邮件是因为您订阅了Google网上论坛上的“openresty”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到openresty+unsubscribe@googlegroups.com
要在网络上查看此讨论,请访问https://groups.google.com/d/msgid/openresty/660971ba-ed17-4e09-960c-2f664816555d%40googlegroups.com
Reply all
Reply to author
Forward
0 new messages