-
Notifications
You must be signed in to change notification settings - Fork 113
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
[alert] ****: worker process **** exited on signal 11 when require zlib on Mac #59
Comments
I have add some debug log and I found that when |
I have tried to test the Lua command, it works well.
|
I have tried to install by luarocks. I download the lua-zlib-1.2-1.rockspec from https://github.com/brimworks/lua-zlib/blob/master/rockspecs/lua-zlib-1.2-1.rockspec, and update url to "git+https://github.com/brimworks/lua-zlib.git".
then when I send request ,I got the following errors:
|
I have solved the problem.
and then, it works. |
Did you try using the |
@alerque Actually, I didn't use --lua-dir flag on luarocks. If I want to use --lua-dir flag, what the value should be?
like this? |
@alerque So, why should I use luajit instead of lua? |
When you run I think you could have just used the |
@alerque Thanks for your reply, I will try to use |
nginx.conf:
How can I install Lua-zlib:
when I send a request to 127.0.0.1/test, I got the following logs:
The text was updated successfully, but these errors were encountered: