openresty / openresty/openresty
Symbol not found with resty command on macOS
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
I built and installed last version (1.15.8.2) on macOS (10.14.6) but I cannot excute Getting started section of the guide. When I launch resty -e 'print("hello, world")' I obtain the following error:
nginx: [error] lua_load_resty_core failed to load the resty.core module from https://github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from https://openresty.org/en/download.html (rc: 2, reason: ...io/Downloads/3scale/OpenResty/lualib/resty/core/time.lua:43: dlsym(RTLD_DEFAULT, ngx_http_lua_ffi_now): symbol not found)
hello, world
2019/10/24 20:54:20 [error] 12637#0: *2 lua entry thread aborted: runtime error: ...lessio/Downloads/3scale/OpenResty/lualib/ngx/process.lua:60: dlsym(RTLD_DEFAULT, ngx_http_lua_ffi_process_signal_graceful_exit): symbol not found
stack traceback:
coroutine 0:
[C]: in function '__index'
...lessio/Downloads/3scale/OpenResty/lualib/ngx/process.lua:60: in function 'signal_graceful_exit'
init_worker_by_lua:65: in function <init_worker_by_lua:51>, context: ngx.timer
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the resty -e 'print("hello, world")' command on macOS 10.14.6 using the reported OpenResty 1.15.8.2 setup. Start with the lua-resty-core load error and the referenced resty/core/time.lua and ngx/process.lua paths; done means the command runs without the reported missing-symbol errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, lua, macos
- Domain
- backend, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100