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

Not loading for luajit/lua 5.1

Clyybber opened this issue · comments

Even though in the makefile i changed lua_version from 5.3 to 5.1 it doesnt load in 5.1 and luajit and instead spits out this error:

error loading module 'cjson' from file './cjson.so':
./cjson.so: undefined symbol: luaL_setfuncs

I am using "make"

EDIT: Short: I cant compile it for luajit. I'm a noob at c compiling and stuff, and it doesnt show anywhere in the manual.

commented

See the following for the issue and how to fix it.

Any chance of an upstream fix for this?

@mpx, ?
still experiencing problems with luajit

commented

i install luajit but when i typping (which luajit) then i have any output!!!! for what? please help me.