-
Notifications
You must be signed in to change notification settings - Fork 485
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
Symbol not found: _lua_objlen #56
Comments
I'm seeing the same issue on alpine linux with with version 2.1.0.6-1 of lua-cjson, I'm currently working around the issue by explicitly specifying version 2.1.0-1. |
|
lua-cjson on luarocks seems to be Openresty's version, not this code base. See this issue there: |
I'm having the same issue on macOS with Lua-5.3.5. I have to remove the latest lua-cjson(2.1.0.6-1) and install a previous version(2.1.0-1) instead. |
same issue: macOS 10.15.1 (19B88); Lua-5.3.5; lua-cjson(2.1.0.6-1) |
Still have the same problem on the Arch linux when installing it from the luarocks.
And then when I run a script:
|
I found the fix . . . http://lua-users.org/lists/lua-l/2018-03/msg00447.html on this link it is stated that lua_objlen was renamed to lua_rawlen . . . so renaming lua_objlen:lua_cjson.c:743 to lua_rawlen solves the issue. |
This issue is still open after almost 4 years, is this project not maintained? |
I managed to install the latest version with the following command: luarocks install lua-cjson --local "CFLAGS=-O3 -Wall -pedantic -DNDEBUG -DLUA_COMPAT_5_3" The important part is |
I'm requiring the module using
And I'm getting:
The text was updated successfully, but these errors were encountered: