Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

After upgrade to latest version, nginx start failed #29

Closed
kn007 opened this issue Nov 11, 2018 · 2 comments
Closed

After upgrade to latest version, nginx start failed #29

kn007 opened this issue Nov 11, 2018 · 2 comments

Comments

@kn007
Copy link

kn007 commented Nov 11, 2018

Compile with latest lua-nginx-module version and luajit v2.1-20181029.

When nginx starting, log return

/usr/local/nginx/sbin/nginx: symbol lookup error: /usr/local/nginx/sbin/nginx: undefined symbol: lua_getexdata

luajit2-2.1-20180420 is working fine.

@agentzh
Copy link
Member

agentzh commented Nov 11, 2018

@kn007 You compiled against OpenResty's LuaJIT, but your nginx is loaded with the wrong LuaJIT .so file at runtime. You can check it with ldd /path/to/nginx.

This is also why we always recommend using OpenResty's releases directly, as in

https://openresty.org/download/openresty-1.15.5.1rc0.tar.gz

@kn007
Copy link
Author

kn007 commented Nov 11, 2018

Thank you.

@kn007 kn007 closed this as completed Nov 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants