mpx / lua-cjson

Lua CJSON is a fast JSON encoding/parsing module for Lua

Home Page:https://kyne.au/~mark/software/lua-cjson.php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cjson.so: undefined symbol: lua_rotate

mofywong opened this issue · comments

Hi,
I use luajit 2.1.0-beta3 and lua-cjson 2.1.0-1 from http://luarocks.org,I print a error "cjson.so: undefined symbol: lua_rotate" when running. I search that "lua_rotate" is a new add in lua 5.3. But there has the note in lua-cjson 2.1.0-1 require lua > 5.1 not 5.3. So, which lua version is need by lua-cjson 2.1.0-1?luajit 2.1.0-beta3 and lua-cjson 2.1.0-1 not match?
Thank you.

I use lua-cjson 2.1.0 with lua 5.3.3 ,it is ok . It get the same error as you when I use lua 5.2.4.